=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/mined", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for mined-2022.27nb1 sh ./makemined sh ./makemined help cd man; make make[1]: Entering directory '/var/tmp/work/editors/mined/work/mined-2022.27/man' make[1]: Nothing to be done for 'man'. make[1]: Leaving directory '/var/tmp/work/editors/mined/work/mined-2022.27/man' sh ./makemined mnemodoc gmake[1]: Entering directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' echo SH=sh > charmaps/makefile gmake[1]: Entering directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' gmake[1]: Nothing to be done for 'help'. gmake[1]: Leaving directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' echo generating keymaps.t via makefile CC=gcc OPT="-pipe -Os -I/opt/pkg/include/ncurses" sh ./mkmakchr -O ../bin/Darwin.arm64 >> charmaps/makefile generating keymaps.t via makefile gmake[1]: Entering directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' gmake[1]: Nothing to be done for 'mnemodoc'. gmake[1]: Leaving directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' if [ ! -d keymaps ]; then mkdir keymaps; fi sh ./makemined quotesdoc echo SH=sh > keymaps/makefile echo keymaps.t: keymaps.cfg `sh ./mkkmlist` mkkmincl >> keymaps/makefile gmake[1]: Entering directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' gmake[1]: Nothing to be done for 'quotesdoc'. gmake[1]: Leaving directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' echo " CC=gcc sh ./mkkmincl `sh ./mkkmlist` > keymaps.t" >> keymaps/makefile mkdir -p ../bin/Darwin.arm64/charmaps gcc -DTERMIO -Dunix -Dunix -DNOPROTO -pipe -Os -I/opt/pkg/include/ncurses -DRUNDIR=\"/opt/pkg/share/mined\" -DLRUNDIR=\"/usr/local/share/mined\" -c minedaux.c -o ../bin/Darwin.arm64/minedaux.o gmake -f keymaps/makefile gmake[2]: Entering directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' gmake[2]: 'keymaps.t' is up to date. gmake[2]: Leaving directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' gcc -DTERMIO -Dunix -Dunix -DNOPROTO -pipe -Os -I/opt/pkg/include/ncurses -c legacy.c -o ../bin/Darwin.arm64/legacy.o gmake -f charmaps/makefile OBJDIR=../bin/Darwin.arm64 gmake[2]: Entering directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/arabic.c -o ../bin/Darwin.arm64/charmaps/arabic.o legacy.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | serrorof (errnum) | ^ legacy.c:161:18: warning: passing arguments to 'getpgrp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | return getpgrp (pid); | ^ legacy.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 | portable_getpgrp (pid) | ^ 3 warnings generated. gcc -DTERMIO -Dunix -Dunix -DNOPROTO -O1 -DRUNDIR=\"/opt/pkg/share/mined\" -DLRUNDIR=\"/usr/local/share/mined\" -c mined1.c -o ../bin/Darwin.arm64/mined1.o In file included from minedaux.c:6: ./mined.h:138: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] 138 | extern char * getcwd (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:453:18: note: conflicting prototype is here 453 | char *_LIBC_CSTR getcwd(char *_LIBC_COUNT_OR_NULL(__size), size_t __size); | ^ In file included from minedaux.c:6: ./mined.h:143: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 previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ In file included from minedaux.c:6: ./mined.h:170: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 previous declaration [-Wdeprecated-non-prototype] 170 | extern pid_t wait (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/wait.h:246:9: note: conflicting prototype is here 246 | pid_t wait(int *) __DARWIN_ALIAS_C(wait); | ^ In file included from minedaux.c:6: ./mined.h:173:21: 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] 173 | extern unsigned int sleep (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:485:3: note: conflicting prototype is here 485 | sleep(unsigned int) __DARWIN_ALIAS_C(sleep); | ^ In file included from minedaux.c:6: ./mined.h:234: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 previous declaration [-Wdeprecated-non-prototype] 234 | extern int access (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:435:6: note: conflicting prototype is here 435 | int access(const char *, int); | ^ In file included from minedaux.c:6: ./mined.h:236: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 previous declaration [-Wdeprecated-non-prototype] 236 | extern int close (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:441:6: note: conflicting prototype is here 441 | int close(int) __DARWIN_ALIAS_C(close); | ^ In file included from minedaux.c:6: ./mined.h:239: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 previous declaration [-Wdeprecated-non-prototype] 239 | extern int system (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:203:6: note: conflicting prototype is here 203 | int system(const char *) __DARWIN_ALIAS_C(system); | ^ In file included from minedaux.c:6: ./mined.h:240: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 previous declaration [-Wdeprecated-non-prototype] 240 | extern int isatty (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:467:6: note: conflicting prototype is here 467 | int isatty(int); | ^ In file included from minedaux.c:6: ./mined.h:242: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 previous declaration [-Wdeprecated-non-prototype] 242 | extern int strcmp (); | ^ minedaux.c:73:22: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | strip_trailingslash (logfn); | ^ minedaux.c:87:12: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | unnull (l1), unnull (l2) | ^ minedaux.c:87:25: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | unnull (l1), unnull (l2) | ^ minedaux.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | debuglog (tag, l1, l2) | ^ In file included from minedaux.c:6: ./mined.h:802: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] 802 | extern void debuglog _((char * tag, char * l1, char * l2)); | ^ minedaux.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | unnull (s) | ^ In file included from minedaux.c:6: ./mined.h:825: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 subsequent definition [-Wdeprecated-non-prototype] 825 | extern char * unnull _((char *)); | ^ minedaux.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | strip_trailingslash (name) | ^ In file included from minedaux.c:6: ./mined.h:826: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] 826 | extern void strip_trailingslash _((char *)); | ^ minedaux.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 | num_out (number, radix) | ^ In file included from minedaux.c:6: ./mined.h:827: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 subsequent definition [-Wdeprecated-non-prototype] 827 | extern char * num_out _((long number, long radix)); | ^ minedaux.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] 177 | dec_out (number) | ^ In file included from minedaux.c:6: ./mined.h:822: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 subsequent definition [-Wdeprecated-non-prototype] 822 | extern char * dec_out _((long)); | ^ minedaux.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | scan_int (str, nump) | ^ In file included from minedaux.c:6: ./mined.h:821: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 subsequent definition [-Wdeprecated-non-prototype] 821 | extern char * scan_int _((char *, int *)); | ^ minedaux.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | copy_string (to, from) | ^ In file included from minedaux.c:6: ./mined.h:828: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] 828 | extern void copy_string _((char * to, char * from)); | ^ minedaux.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | length_of (string) | ^ In file included from minedaux.c:6: ./mined.h:883: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] 883 | extern int length_of _((char *)); | ^ minedaux.c:253:21: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | char * s1 = alloc (strlen (s) + 1); | ^ minedaux.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | dupstr (s) | ^ In file included from minedaux.c:6: ./mined.h:884: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 subsequent definition [-Wdeprecated-non-prototype] 884 | extern char * dupstr _((char * s)); | ^ minedaux.c:264:25: warning: passing arguments to 'UTF8_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | int follow = UTF8_len (* s) - 1; | ^ minedaux.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | nextutf8 (s) | ^ In file included from minedaux.c:6: ./mined.h:885: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 subsequent definition [-Wdeprecated-non-prototype] 885 | extern char * nextutf8 _((char *s)); | ^ minedaux.c:280:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | unsigned long c1 = case_convert (utf8value (s1), -1); | ^ minedaux.c:280:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | unsigned long c1 = case_convert (utf8value (s1), -1); | ^ minedaux.c:281:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | unsigned long c2 = case_convert (utf8value (s2), -1); | ^ minedaux.c:281:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | unsigned long c2 = case_convert (utf8value (s2), -1); | ^ minedaux.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | stringcompare_ (s1, s2) | ^ In file included from minedaux.c:6: ./mined.h:886: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] 886 | extern int stringcompare_ _((char * s1, char * s2)); | ^ minedaux.c:308:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | unsigned long c1 = case_convert (utf8value (s1), -1); | ^ minedaux.c:308:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | unsigned long c1 = case_convert (utf8value (s1), -1); | ^ minedaux.c:309:46: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | unsigned long c2 = case_convert (utf8value (s2), -1); | ^ minedaux.c:309:35: warning: passing arguments to 'case_convert' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | unsigned long c2 = case_convert (utf8value (s2), -1); | ^ minedaux.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | stringprefix_ (s1, s2) | ^ In file included from minedaux.c:6: ./mined.h:887: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] 887 | extern int stringprefix_ _((char * s1, char * s2)); | ^ minedaux.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | envvar (name) | ^ In file included from minedaux.c:6: ./mined.h:803: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 subsequent definition [-Wdeprecated-non-prototype] 803 | extern char * envvar _((char * name)); | ^ minedaux.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | envstr (name) | ^ In file included from minedaux.c:6: ./mined.h:804: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 subsequent definition [-Wdeprecated-non-prototype] 804 | extern char * envstr _((char * name)); | ^ minedaux.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | get_cwd (dirbuf) | ^ In file included from minedaux.c:6: ./mined.h:808: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 subsequent definition [-Wdeprecated-non-prototype] 808 | extern char * get_cwd _((char * dirbuf)); | ^ minedaux.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | sethomedir (hd) | ^ In file included from minedaux.c:6: ./mined.h:810: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] 810 | extern void sethomedir _((char *)); | ^ minedaux.c:515:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | raw_mode (False); | ^ minedaux.c:518:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | putstring ("mined: "); | ^ minedaux.c:521:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | putstring (msg); | ^ minedaux.c:523:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | putstring ("\r\n"); | ^ minedaux.c:537:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | raw_mode (True); | ^ minedaux.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | systemcall (msg, cmd, delay) | ^ In file included from minedaux.c:6: ./mined.h:811: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] 811 | extern int systemcall _((char * msg, char * cmd, int delay)); | ^ minedaux.c:565:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | raw_mode (False); | ^ minedaux.c:569:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | putstring ("mined: "); | ^ minedaux.c:572:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | putstring (msg); | ^ minedaux.c:574:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | putstring ("\r\n"); | ^ minedaux.c:581:9: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 581 | pid = vfork (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ minedaux.c:633:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | raw_mode (True); | ^ minedaux.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | progcallpp (msg, delay, binprepath, dir, prog, p1, p2, p3, p4) | ^ In file included from minedaux.c:6: ./mined.h:813: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] 813 | extern int progcallpp _((char * msg, int delay, char * binprepath [], | ^ minedaux.c:698:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | error ("Command not available"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:720:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | if (get_filename (text_buffer, new_dir, True) != FINE) { | ^ minedaux.c:722:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | status_msg (text_buffer); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:740:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | status_msg (text_buffer); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:759:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | error2 ("Cannot change current directory: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:769:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | fstatus ("", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ minedaux.c:822:25: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | helpfile = getbasename (hfbuf); | ^ minedaux.c:867:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | status_msg ("Help file not found; configure $MINEDDIR in environment!"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:893:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:894:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | set_cursor (0, YMAX); | ^ minedaux.c:940:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | error ("Help topic could not be opened"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:949:13: warning: passing arguments to 'view_help' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | view_help (helpfile, topic); | ^ minedaux.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | show_help (topic) | ^ minedaux.c:990:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | status_uni (about); | ^ minedaux.c:1002:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | status_uni ("F1/,/1/ Help on: about introduction keyboard function-keys commands menu"); | ^ minedaux.c:1004:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1004 | status_uni ("Help on: about introduction keyboard function-keys commands menu"); | ^ minedaux.c:1006:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | status_uni ("Show function key help bar: F1 / Shift-F1 / Alt-F1 / Ctrl-F1 / Alt-Ctrl-F1 etc"); | ^ minedaux.c:1008:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | status_uni ("Show accent help bar: . punctuation accents / 1/Alt-1/C-Alt-1 digit keys"); | ^ minedaux.c:1015:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1016:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | if (command (c) == F1 || command (c) == F2 || command (c) == F3 | ^ minedaux.c:1016:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | if (command (c) == F1 || command (c) == F2 || command (c) == F3 | ^ minedaux.c:1016:57: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1016 | if (command (c) == F1 || command (c) == F2 || command (c) == F3 | ^ minedaux.c:1017:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | || command (c) == F4 || command (c) == F5 || command (c) == F6 | ^ minedaux.c:1017:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | || command (c) == F4 || command (c) == F5 || command (c) == F6 | ^ minedaux.c:1017:57: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | || command (c) == F4 || command (c) == F5 || command (c) == F6 | ^ minedaux.c:1018:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | || command (c) == F7 || command (c) == F8 || command (c) == F9 | ^ minedaux.c:1018:36: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | || command (c) == F7 || command (c) == F8 || command (c) == F9 | ^ minedaux.c:1018:57: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | || command (c) == F7 || command (c) == F8 || command (c) == F9 | ^ minedaux.c:1019:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | || command (c) == F10 || command (c) == F11 || command (c) == F12 | ^ minedaux.c:1019:37: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | || command (c) == F10 || command (c) == F11 || command (c) == F12 | ^ minedaux.c:1019:59: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | || command (c) == F10 || command (c) == F11 || command (c) == F12 | ^ minedaux.c:1021:8: warning: passing arguments to 'FHELP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | FHELP (F1); | ^ minedaux.c:1022:48: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | } else if ((c >= '0' && c <= '9') || command (c) == key_0 | ^ minedaux.c:1023:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | || command (c) == key_1 || command (c) == key_2 || command (c) == key_3 | ^ minedaux.c:1023:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | || command (c) == key_1 || command (c) == key_2 || command (c) == key_3 | ^ minedaux.c:1023:63: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | || command (c) == key_1 || command (c) == key_2 || command (c) == key_3 | ^ minedaux.c:1024:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | || command (c) == key_4 || command (c) == key_5 || command (c) == key_6 | ^ minedaux.c:1024:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | || command (c) == key_4 || command (c) == key_5 || command (c) == key_6 | ^ minedaux.c:1024:63: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | || command (c) == key_4 || command (c) == key_5 || command (c) == key_6 | ^ minedaux.c:1025:15: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | || command (c) == key_7 || command (c) == key_8 || command (c) == key_9 | ^ minedaux.c:1025:39: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | || command (c) == key_7 || command (c) == key_8 || command (c) == key_9 | ^ minedaux.c:1025:63: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | || command (c) == key_7 || command (c) == key_8 || command (c) == key_9 | ^ minedaux.c:1027:8: warning: passing arguments to 'FHELP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | FHELP (key_1); | ^ minedaux.c:1028:22: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | } else if (command (c) == COMPOSE || c == ',' || c == '.' || c == '\'' | ^ minedaux.c:1033:8: warning: passing arguments to 'FHELP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | FHELP (COMPOSE); | ^ minedaux.c:1046:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | status_msg ("No such help available"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | dispatch_HELP (topics, Fn) | ^ minedaux.c:1096:30: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | chars_written = char_count (textp) - 1; | ^ minedaux.c:1101:24: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | int ret = writechar (fd, '\n'); | ^ minedaux.c:1115:31: warning: passing arguments to 'char_count' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | chars_written += char_count (textp) - 1; | ^ minedaux.c:1117:37: warning: passing arguments to 'charvalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | unsigned long unichar = charvalue (textp); | ^ minedaux.c:1120:33: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | unichar = lookup_encodedchar (unichar); | ^ minedaux.c:1121:19: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | if (no_unichar (unichar)) { | ^ minedaux.c:1129:19: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | if (writechar (fd, ' ') == ERRORS) { | ^ minedaux.c:1141:21: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | up += utfencode (unichar & 0xFFFF, up); | ^ minedaux.c:1142:24: warning: passing arguments to 'is_wideunichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | if (is_wideunichar (unichar)) { | ^ minedaux.c:1151:21: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | (void) utfencode (unichar, up); | ^ minedaux.c:1153:30: warning: passing arguments to 'iscombining_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | if (! iscombining_unichar (unichar)) { | ^ minedaux.c:1154:24: warning: passing arguments to 'is_wideunichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | if (is_wideunichar (unichar)) { | ^ minedaux.c:1164:19: warning: passing arguments to 'writechar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | if (writechar (fd, * up) == ERRORS) { | ^ minedaux.c:1172:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | advance_char (& textp); | ^ minedaux.c:1177:21: warning: passing arguments to 'flush_filebuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | if (flush_filebuf (fd) == ERRORS) { | ^ minedaux.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | write_unitext (fd) | ^ minedaux.c:1241:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | error2 (errmsg, spoolfn); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | spoolfile (spoolfn, spooldir, name) | ^ minedaux.c:1272:52: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | file_name [0] == '\0' ? "_nofile_" : getbasename (file_name)); | ^ ./mined.h:1184:22: note: expanded from macro 'build_string' 1184 | #define build_string sprintf | ^ minedaux.c:1277:53: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | file_name [0] == '\0' ? "[no file]" : getbasename (file_name), | ^ ./mined.h:1184:22: note: expanded from macro 'build_string' 1184 | #define build_string sprintf | ^ minedaux.c:1286:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | error ("Cannot write spool file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1290:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1291:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | set_cursor (0, YMAX); | ^ minedaux.c:1302:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | status_uni ("Printing with $MINEDPRINT failed"); | ^ minedaux.c:1376:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | status_uni ("Printing with uprint failed"); | ^ minedaux.c:1413:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | status_uni ("Printing with $LPR failed"); | ^ minedaux.c:1432:14: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | status_uni ("Printing with system print command failed"); | ^ minedaux.c:1443:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | status_line ("Printed with ", msg); | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:1445:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | error ("Cannot print"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1465:22: warning: passing arguments to 'yankfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | if ((fd = yankfile (READ, False)) == ERRORS) { | ^ minedaux.c:1466:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | error ("No buffer contents for command input"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1470:7: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | if (get_string ("Command with buffer as input:", cmd, True, "") != FINE) { | ^ ./mined.h:1171:14: note: expanded from macro 'get_string' 1171 | bottom_line (True, (str1), NIL_PTR, (str2), fl, term_chars) | ^ minedaux.c:1474:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1475:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | set_cursor (0, YMAX); | ^ minedaux.c:1523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | gettoken (token) | ^ minedaux.c:1535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1535 | skiptoken (token) | ^ minedaux.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | tokenlen (token) | ^ minedaux.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | eqtoken (t1, t2) | ^ minedaux.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | istoken (token) | ^ minedaux.c:1579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | nextline (s) | ^ minedaux.c:1614:36: warning: passing arguments to 'portable_getpgrp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | if (getpid () != portable_getpgrp (getpid ())) { | ^ minedaux.c:1672:15: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | delete_file (ps_file); | ^ minedaux.c:1687:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | set_cursor (0, YMAX); | ^ minedaux.c:1691:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | raw_mode (False); | ^ minedaux.c:1694:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | raw_mode (True); | ^ minedaux.c:1695:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1773:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | set_cursor (0, YMAX); | ^ minedaux.c:1774:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1774 | putchar ('\n'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ minedaux.c:1776:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | raw_mode (False); | ^ minedaux.c:1781:9: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 1781 | pid = vfork (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ minedaux.c:1787:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | raw_mode (True); | ^ minedaux.c:1790:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1790 | error2 ("Cannot fork command shell: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:1811:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | raw_mode (True); | ^ minedaux.c:1817:48: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1817 | error2 ("Shell termination error: ", serrorof (waiterr)); | ^ minedaux.c:1817:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1817 | error2 ("Shell termination error: ", serrorof (waiterr)); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:1819:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1819 | error2 (shell, ": error invoking shell (not found / not enough memory ?)"); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:1821:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1821 | error ("Cannot open /dev/tty as fd #0"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ minedaux.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | getbasename (fn) | ^ In file included from minedaux.c:6: ./mined.h:805: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 subsequent definition [-Wdeprecated-non-prototype] 805 | extern char * getbasename _((char * s)); | ^ minedaux.c:1907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1907 | is_absolute_path (fn) | ^ In file included from minedaux.c:6: ./mined.h:806: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] 806 | extern int is_absolute_path _((char * filename)); | ^ minedaux.c:1932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | delete_file (file) | ^ In file included from minedaux.c:6: ./mined.h:823: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] 823 | extern int delete_file _((char *)); | ^ minedaux.c:1952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1952 | copyfile (from_file, to_file) | ^ In file included from minedaux.c:6: ./mined.h:824: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] 824 | extern FLAG copyfile _((char * from_file, char * to_file)); | ^ minedaux.c:2043: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] 2043 | extern void * malloc (); | ^ minedaux.c:2044: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 previous declaration [-Wdeprecated-non-prototype] 2044 | extern void free (); | ^ minedaux.c:2052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | alloc (bytes) | ^ In file included from minedaux.c:6: ./mined.h:837: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 subsequent definition [-Wdeprecated-non-prototype] 837 | extern void * alloc _((int bytes)); | ^ minedaux.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | free_space (p) | ^ In file included from minedaux.c:6: ./mined.h:838: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] 838 | extern void free_space _((void *)); | ^ minedaux.c:2094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2094 | alloc_headerblock (n) | ^ minedaux.c:2141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2141 | free_header (hp) | ^ In file included from minedaux.c:6: ./mined.h:840: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] 840 | extern void free_header _((LINE *)); | ^ minedaux.c:2171:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2171 | status_line (msg, NIL_PTR); | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ minedaux.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | panic_msg (msg) | ^ minedaux.c:2228:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2228 | set_cursor (0, YMAX); | ^ minedaux.c:2229:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | putchar ('\n'); | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ minedaux.c:2233:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2233 | raw_mode (False); | ^ minedaux.c:2180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2180 | panicking (message, err, signum) | ^ minedaux.c:2246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2246 | panic (message, err) | ^ In file included from minedaux.c:6: ./mined.h:819: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] 819 | extern void panic _((char *, char *)); | ^ minedaux.c:2254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2254 | panicio (message, err) | ^ In file included from minedaux.c:6: ./mined.h:820: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] 820 | extern void panicio _((char * message, char * err)); | ^ minedaux.c:2264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | handle_interrupt (signum) | ^ In file included from minedaux.c:25: ./io.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 handle_interrupt _((int)); | ^ In file included from mined1.c:6: ./mined.h:138: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] 138 | extern char * getcwd (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:453:18: note: conflicting prototype is here 453 | char *_LIBC_CSTR getcwd(char *_LIBC_COUNT_OR_NULL(__size), size_t __size); | ^ In file included from mined1.c:6: ./mined.h:143: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 previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ In file included from mined1.c:6: ./mined.h:170: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 previous declaration [-Wdeprecated-non-prototype] 170 | extern pid_t wait (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/wait.h:246:9: note: conflicting prototype is here 246 | pid_t wait(int *) __DARWIN_ALIAS_C(wait); | ^ In file included from mined1.c:6: ./mined.h:173:21: 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] 173 | extern unsigned int sleep (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:485:3: note: conflicting prototype is here 485 | sleep(unsigned int) __DARWIN_ALIAS_C(sleep); | ^ In file included from mined1.c:6: ./mined.h:234: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 previous declaration [-Wdeprecated-non-prototype] 234 | extern int access (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:435:6: note: conflicting prototype is here 435 | int access(const char *, int); | ^ In file included from mined1.c:6: ./mined.h:236: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 previous declaration [-Wdeprecated-non-prototype] 236 | extern int close (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:441:6: note: conflicting prototype is here 441 | int close(int) __DARWIN_ALIAS_C(close); | ^ In file included from mined1.c:6: ./mined.h:239: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 previous declaration [-Wdeprecated-non-prototype] 239 | extern int system (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:203:6: note: conflicting prototype is here 203 | int system(const char *) __DARWIN_ALIAS_C(system); | ^ In file included from mined1.c:6: ./mined.h:240: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 previous declaration [-Wdeprecated-non-prototype] 240 | extern int isatty (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:467:6: note: conflicting prototype is here 467 | int isatty(int); | ^ In file included from mined1.c:6: ./mined.h:242: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 previous declaration [-Wdeprecated-non-prototype] 242 | extern int strcmp (); | ^ mined1.c:334:26: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 334 | static char TABdefault = ''; /* default TAB indicator */ | ^ mined1.c:335:26: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 335 | static char RETdefault = ''; /* indicates line end */ | ^ mined1.c:336:27: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 336 | static char PARAdefault = ''; /* indicates end of paragraph */ | ^ mined1.c:337:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 337 | char UNI_marker = ''; /* Char to be shown in place of Unicode char */ | ^ mined1.c:349:21: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 349 | char SHIFT_marker = ''; /* Char indicating that line continues */ | ^ mined1.c:350:25: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 350 | char SHIFT_BEG_marker = ''; /* Char indicating that line continues left */ | ^ mined1.c:351:20: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 351 | char MENU_marker = ''; /* Char to mark selected item */ | ^ mined1.c:415:18: warning: passing arguments to 'menu_mouse_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | menu_mouse_mode (selecting); | ^ mined1.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | selection_mouse_mode (selecting) | ^ mined1.c:427:10: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | setMARK (True); | ^ mined1.c:441:29: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | (void) display_scrollbar (True); | ^ mined1.c:448:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | mouse_scroll (S, P) | ^ mined1.c:514:31: warning: passing arguments to 'filelist_search' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | char * fn = filelist_search (mouse_ypos + MENU, mouse_xpos); | ^ mined1.c:517:25: warning: passing arguments to 'save_text_load_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | save_text_load_file (fn); | ^ mined1.c:528:13: warning: passing arguments to 'openmenuat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | openmenuat (mouse_xpos); | ^ mined1.c:573:11: warning: passing arguments to 'goproz' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | goproz (100); | ^ mined1.c:575:11: warning: passing arguments to 'goproz' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | goproz ((mouse_ypos + 1) * 100 / YMAX); | ^ mined1.c:581:27: warning: passing arguments to 'mouse_button_event_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | mouse_button_event_mode (True); | ^ mined1.c:605:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | setMARK (True); | ^ mined1.c:610:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | move_to (mouse_xpos, 0); | ^ mined1.c:613:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | move_to (mouse_xpos, YMAX - 1); | ^ mined1.c:618:28: warning: passing arguments to 'adjust_rectangular_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | adjust_rectangular_mode (alt_mouse); | ^ mined1.c:619:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:623:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | if (! char_ready_within (350, "mouse")) { | ^ mined1.c:625:16: warning: passing arguments to 'openmenuat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | openmenuat (mouse_xpos); | ^ mined1.c:652:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:660:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | setMARK (True); | ^ mined1.c:668:34: warning: passing arguments to 'continue_highlight_selection' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | continue_highlight_selection (mouse_xpos); | ^ mined1.c:688:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:698:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | setMARK (True); | ^ mined1.c:700:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:711:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:721:12: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | move_to (prev_x, prev_y); | ^ mined1.c:735:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | move_to (mouse_xpos, mouse_ypos); | ^ mined1.c:740:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | setMARK (True); | ^ mined1.c:743:12: warning: passing arguments to 'setMARK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | setMARK (True); | ^ mined1.c:861:21: warning: passing arguments to 'get_number' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | index = get_number ("Select video mode ", '\0', & mode1); | ^ mined1.c:865:18: warning: passing arguments to 'set_screen_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | set_screen_mode (mode1); | ^ mined1.c:882:20: warning: passing arguments to 'resize_the_screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | resize_the_screen (sb, keep_columns); | ^ mined1.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | change_screen_size (sb, keep_columns) | ^ mined1.c:892:15: warning: passing arguments to 'resize_font' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | resize_font (inc); | ^ mined1.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | change_font_size (inc) | ^ mined1.c:953:26: warning: passing arguments to 'switch_textmode_height' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | switch_textmode_height (True); | ^ mined1.c:964:25: warning: passing arguments to 'switch_textmode_height' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | switch_textmode_height (False); | ^ mined1.c:981:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 981 | error ("View only mode"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:991:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | error2 ("Restricted mode", " - function not allowed"); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:1037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | KEYrecord (key) | ^ mined1.c:1167:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | Mark = envvar ("MINEDSHIFT"); | ^ mined1.c:1178:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | Mark = envvar ("MINEDTAB"); | ^ mined1.c:1201:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | Mark = envvar ("MINEDRET"); | ^ mined1.c:1213:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | Mark = envvar ("MINEDDOSRET"); | ^ mined1.c:1218:19: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 1218 | DOSRET_marker = ''; | ^ mined1.c:1223:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | Mark = envvar ("MINEDMACRET"); | ^ mined1.c:1233:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | Mark = envvar ("MINEDPARA"); | ^ mined1.c:1239:17: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | Mark = envvar ("MINEDMENUMARKER"); | ^ mined1.c:1255:32: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | UTF_SHIFT_BEG_marker = envvar ("MINEDUTFSHIFT"); | ^ mined1.c:1258:16: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | advance_utf8 (& UTF_SHIFT_marker); | ^ mined1.c:1263:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | UTF_TAB_marker = envvar ("MINEDUTFTAB"); | ^ mined1.c:1267:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | advance_utf8 (& markpoi); | ^ mined1.c:1271:18: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | advance_utf8 (& markpoi); | ^ mined1.c:1282:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | UTF_RET_marker = envvar ("MINEDUTFRET"); | ^ mined1.c:1286:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | advance_utf8 (& UTF_RETfill_marker); | ^ mined1.c:1290:17: warning: passing arguments to 'advance_utf8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | advance_utf8 (& UTF_RETfini_marker); | ^ mined1.c:1293:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | UTF_DOSRET_marker = envvar ("MINEDUTFDOSRET"); | ^ mined1.c:1301:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | UTF_MACRET_marker = envvar ("MINEDUTFMACRET"); | ^ mined1.c:1309:27: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | UTF_PARA_marker = envvar ("MINEDUTFPARA"); | ^ mined1.c:1310:16: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | Mark = envvar ("MINEDUTFMENUMARKER"); | ^ mined1.c:1315:14: warning: passing arguments to 'utf8_info' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | utf8_info (Mark, & len, & unichar); | ^ mined1.c:1316:28: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | if (len > 1 && ! iswide (unichar) && ! iscombining (unichar)) { | ^ mined1.c:1316:55: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | if (len > 1 && ! iswide (unichar) && ! iscombining (unichar)) { | ^ mined1.c:1344:46: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | char * report = get_terminal_report_string (s); | ^ mined1.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | get_terminal_rgb (s) | ^ mined1.c:1354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | sscanrgb (s, __r, __g, __b) | ^ mined1.c:1408:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1408 | ret = sscanrgb (color_report, & r3, & g3, & b3); | ^~~~ mined1.c:1408:39: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1408 | ret = sscanrgb (color_report, & r3, & g3, & b3); | ^~~~ mined1.c:1408:45: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1408 | ret = sscanrgb (color_report, & r3, & g3, & b3); | ^~~~ mined1.c:1429:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | putescape (set_ansi3); | ^ mined1.c:1443:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1443 | ret = sscanrgb (color_report, & _r, & _g, & _b); | ^~~~ mined1.c:1443:39: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1443 | ret = sscanrgb (color_report, & _r, & _g, & _b); | ^~~~ mined1.c:1443:45: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1443 | ret = sscanrgb (color_report, & _r, & _g, & _b); | ^~~~ mined1.c:1467:32: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1467 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1467:37: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1467 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1467:42: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1467 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1515:33: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1515 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1515:38: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1515 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1515:43: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1515 | ret = sscanrgb (color_report, & r, & g, & b); | ^~~ mined1.c:1528:32: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1528 | ret = sscanrgb (color_report, & r_, & g_, & b_); | ^~~~ mined1.c:1528:38: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1528 | ret = sscanrgb (color_report, & r_, & g_, & b_); | ^~~~ mined1.c:1528:44: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1528 | ret = sscanrgb (color_report, & r_, & g_, & b_); | ^~~~ mined1.c:1548:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | putescape (set_curscolr); | ^ mined1.c:1593:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | putescape (set_ansi2); | ^ mined1.c:1629:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | putescape (set_ansi7); | ^ mined1.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | determine_dim_mode (darkcheck_only) | ^ mined1.c:1653:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | markansi = envvar ("MINEDDIM"); | ^ mined1.c:1676:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1676 | emphansi = envvar ("MINEDEMPH"); | ^ mined1.c:1681:23: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1681 | borderansi = envvar ("MINEDBORDER"); | ^ mined1.c:1686:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | selansi = envvar ("MINEDSEL"); | ^ mined1.c:1687:22: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1687 | selfgansi = envvar ("MINEDSELFG"); | ^ mined1.c:1699:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1699 | uniansi = envvar ("MINEDUNI"); | ^ mined1.c:1713:24: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | specialansi = envvar ("MINEDSPECIAL"); | ^ mined1.c:1717:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1717 | combiningansi = envvar ("MINEDCOMBINING"); | ^ mined1.c:1722:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | ctrlansi = envvar ("MINEDCTRL"); | ^ mined1.c:1726:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | menuansi = envvar ("MINEDMENU"); | ^ mined1.c:1730:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | HTMLansi = envvar ("MINEDHTML"); | ^ mined1.c:1746:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1746 | XMLattribansi = envvar ("MINEDXMLATTRIB"); | ^ mined1.c:1754:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | XMLvalueansi = envvar ("MINEDXMLVALUE"); | ^ mined1.c:1762:21: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1762 | diagansi = envstr ("MINEDDIAG"); | ^ mined1.c:1764:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1764 | scrollbgansi = envvar ("MINEDSCROLLBG"); | ^ mined1.c:1773:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | scrollfgansi = envvar ("MINEDSCROLLFG"); | ^ mined1.c:1845:22: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | char * env = envvar ("ESCDELAY"); | ^ mined1.c:1847:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | (void) scan_int (env, & escape_delay); | ^ mined1.c:1859:45: warning: passing arguments to 'unnull' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1859 | } else if (strisprefix ("/dev/tty", unnull (ttyname (2)))) { | ^ mined1.c:1897:25: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1897 | if (char_ready_within (delay, "expect")) { | ^ mined1.c:1911:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | status_uni ("... awaiting slow terminal response ..."); | ^ mined1.c:1915:13: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1915 | status_uni ("... waiting for rxvt to report device attributes ..."); | ^ mined1.c:1922:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1922 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:1878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1878 | expect1byte (timeout, debug_tag) | ^ mined1.c:1930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1930 | receiving_response (c, debug_tag) | ^ mined1.c:1962:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1962 | status_line ("Late screen mode response ", | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:1980:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1980 | error ("Unknown terminal status report"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:1984:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1984 | error ("Late device attribute report - restart mined for proper screen detection"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:1986:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | error ("Unexpected (delayed) device attribute report"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:1989:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | error ("Unknown keyboard control sequence"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:2018:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2018 | c = get_digits (& row); | ^ mined1.c:2020:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | c = get_digits (& col); | ^ mined1.c:1996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | get_CPR (rowpoi, colpoi) | ^ mined1.c:2058:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | c = get_digits (& dum); /* '8' */ | ^ mined1.c:2059:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | c = get_digits (& row); | ^ mined1.c:2061:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | c = get_digits (& col); | ^ mined1.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | get_TSZ (rowpoi, colpoi) | ^ mined1.c:2103:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | set_cursor (2222, 2222); | ^ mined1.c:2106:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | putescape ("\033[6n"); | ^ mined1.c:2128:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | putescape ("\033[18t"); /* long timeout if response disabled? */ | ^ mined1.c:2163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2163 | build_window_title (ws, title, icon) | ^ mined1.c:2187:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2187 | putescape ("\033[22t"); | ^ mined1.c:2195:40: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2195 | char * t = get_terminal_report_string ("\033[21t"); | ^ mined1.c:2200:34: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | t = get_terminal_report_string ("\033[20t"); | ^ mined1.c:2217:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2217 | putescape ("\033[23t"); | ^ mined1.c:2221:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2221 | putescape (window_string); | ^ mined1.c:2240:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2240 | putescape (window_string); | ^ mined1.c:2348:51: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 2348 | char * r = get_terminal_report_string ("\033]2;xx\033[21t"); | ^~~~ mined1.c:2348:41: warning: passing arguments to 'get_terminal_report_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2348 | char * r = get_terminal_report_string ("\033]2;xx\033[21t"); | ^ mined1.c:2355:23: warning: illegal character encoding in character literal [-Winvalid-source-encoding] 2355 | } else if (r [2] == '') { | ^ mined1.c:2397:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2397 | (void) set_term_encoding ("CP850", 'P'); | ^ mined1.c:2399:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2399 | (void) set_term_encoding ("CP1252", 'W'); | ^ mined1.c:2406:33: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2406 | unsigned long c = unicodevalue (filename_poi); | ^ mined1.c:2407:17: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2407 | if (no_unichar (c) || c < (character) ' ' || (c >= 0x80 && c < 0xA0)) { | ^ mined1.c:2427:32: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2427 | filename_dispoi += utfencode (c, filename_dispoi); | ^ mined1.c:2431:33: warning: passing arguments to 'utfencode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | filename_dispoi += utfencode (c, filename_dispoi); | ^ mined1.c:2433:38: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2433 | unsigned long tc = mappedtermchar (c); | ^ mined1.c:2434:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2434 | if (no_char (tc)) { | ^ mined1.c:2437:61: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | filename_dispoi += cjkencode_char (True, mappedtermchar (c), filename_dispoi); | ^ mined1.c:2437:39: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2437 | filename_dispoi += cjkencode_char (True, mappedtermchar (c), filename_dispoi); | ^ mined1.c:2445:15: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2445 | advance_char (& filename_poi); | ^ mined1.c:2450:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2450 | (void) set_term_encoding (save_term_encoding, ' '); | ^ mined1.c:2468:54: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2468 | file_name [0] == '\0' ? "[no file]" : getbasename (filename_ok)); | ^ ./mined.h:1184:22: note: expanded from macro 'build_string' 1184 | #define build_string sprintf | ^ mined1.c:2470:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2470 | putescape (window_string); | ^ mined1.c:2499:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | display (0, top_line, last_y, y); | ^ mined1.c:2503:27: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2503 | (void) display_scrollbar (False); | ^ mined1.c:2507:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2507 | set_cursor (0, YMAX); | ^ mined1.c:2509:41: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2509 | move_address (cur_text, find_y_w_o_RD (cur_line)); | ^ mined1.c:2509:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2509 | move_address (cur_text, find_y_w_o_RD (cur_line)); | ^ mined1.c:2533:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2533 | display (0, top_line, last_y, y_pos); | ^ mined1.c:2536:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2536 | set_cursor (0, YMAX); | ^ mined1.c:2526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2526 | RD_y (y_pos) | ^ In file included from mined1.c:6: ./mined.h:864: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] 864 | extern void RD_y _((int y_pos)); | ^ mined1.c:2552:17: warning: passing arguments to 'screen_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2552 | screen_buffer (True); | ^ mined1.c:2579:8: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2579 | reset (top_line, y); | ^ mined1.c:2581:40: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2581 | move_address (cur_text, find_y_w_o_RD (current_line)); | ^ mined1.c:2581:15: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2581 | move_address (cur_text, find_y_w_o_RD (current_line)); | ^ mined1.c:2585:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2585 | displaymenuline (True); | ^ mined1.c:2595:27: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | (void) display_scrollbar (True); | ^ mined1.c:2548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2548 | RDwin_menu (rd_menu, after_winchg) | ^ mined1.c:2632:9: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2632 | reset (l, li); | ^ mined1.c:2806:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2806 | putescape ("\033[>c"); | ^ mined1.c:2816:17: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2816 | c = get_digits (& terminal_type); | ^ mined1.c:2818:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2818 | c = get_digits (& terminal_version); | ^ mined1.c:2823:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2823 | c = get_digits (& subver); | ^ mined1.c:2827:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2827 | c = get_digits (& terminal_registration); | ^ mined1.c:2794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2794 | acquire_device_attributes (again) | ^ mined1.c:2845:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2845 | putescape ("\033[c"); | ^ mined1.c:2858:18: warning: passing arguments to 'get_digits' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2858 | c = get_digits (& feature); | ^ mined1.c:2885:28: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2885 | while (char_ready_within (30, "swallow")) { | ^ mined1.c:2917:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2917 | putescape (s); | ^ mined1.c:2946:11: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2946 | debuglog ("report", s + 1, sbuf); | ^ mined1.c:2906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2906 | get_terminal_report_string (s) | ^ mined1.c:73: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 subsequent definition [-Wdeprecated-non-prototype] 73 | static char * get_terminal_report_string _((char * s)); | ^ mined1.c:2957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2957 | get_width_report (s, wpoi) | ^ mined1.c:2996:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2996 | putescape ("\r"); | ^ mined1.c:2998:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2998 | debuglog ("6n", "", screen_version ? "s" : ""); | ^ mined1.c:2999:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2999 | putstring (s); /* don't use putescape here for 'screen' 4.0 */ | ^ mined1.c:3000:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3000 | putescape ("\033[6n"); /* maybe termcap u7 but not really defined */ | ^ mined1.c:3001:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3001 | putescape ("\r"); | ^ mined1.c:3004:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3004 | debuglog ("6n", "", "flush"); | ^ mined1.c:3007:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3007 | debuglog ("CPR", "", ""); | ^ mined1.c:2972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2972 | test_screen_width (s) | ^ mined1.c:3074:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3074 | {"<81>02"}, | ^~~~ ~~~~ mined1.c:3075:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3075 | {"ꥦޡ"}, | ^~~~~~~~~~~~~~~~ ~~~~ mined1.c:3076:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3076 | {"<8E>"}, | ^~~~~~~~~~~~~~~~ mined1.c:3077:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3077 | {"<8F>x"}, | ^~~~~~~~~~~~ mined1.c:3078:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3078 | {"<88>"}, | ^~~~~~~~ mined1.c:3079:4: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3079 | {""}, | ^~~~~~~~ mined1.c:3084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3084 | get_screen_width (s, sw, len) | ^ mined1.c:3128:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3128 | debuglog ("6n", "**", screen_version ? "s" : ""); | ^ mined1.c:3130:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | putescape ("\r"); | ^ mined1.c:3133:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3133 | putstring (sw [i].test); /* don't use putescape here for 'screen' 4.0 */ | ^ mined1.c:3134:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3134 | putescape ("\033[6n"); /* maybe termcap u7 but not really defined */ | ^ mined1.c:3135:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3135 | putescape ("\r"); | ^ mined1.c:3150:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3150 | debuglog ("6n", "**", "flush"); | ^ mined1.c:3156:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3156 | debuglog ("CPR", "**", ""); | ^ mined1.c:3104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3104 | acquire_screen_widths (sw, len) | ^ 203 warnings generated. mined1.c:3222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | isglyph_code (glyph) | ^ mined1.c:3241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3241 | isglyph_uni (u) | ^ In file included from mined1.c:6: ./mined.h:921: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] 921 | extern int isglyph_uni _((unsigned long)); | ^ mined1.c:3266:32: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3266 | return isglyph_uni (utf8value (c)); | ^ mined1.c:3260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3260 | isglyph_utf (c) | ^ mined1.c:3341:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3341 | set_fkeymap ("xterm"); | ^ mined1.c:3366:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3366 | set_fkeymap ("xterm"); | ^ mined1.c:3372:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3372 | set_fkeymap ("xterm"); | ^ mined1.c:3375:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3375 | set_fkeymap ("xterm"); | ^ mined1.c:3431:45: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3431 | if (strisprefix ("gnome-terminal", envstr ("COLORTERM")) && gnome_terminal_version <= 0) { | ^ mined1.c:3440:46: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3440 | } else if (streq ("xterm", TERM) && envvar ("MLTERM")) { | ^ mined1.c:3444:25: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3444 | char * mlterm = envvar ("MLTERM"); | ^ mined1.c:3471:20: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3471 | glyphs = dupstr (glyphs); | ^ mined1.c:3632:8: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3632 | : " MinEd " VERSION; | ^~~~ mined1.c:3646:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3646 | set_cursor (xpos, YMAX / 3); | ^ mined1.c:3647:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3647 | putescape ("\033#3"); putescape (logo1); | ^ mined1.c:3647:35: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3647 | putescape ("\033#3"); putescape (logo1); | ^ mined1.c:3648:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3648 | set_cursor (xpos, YMAX / 3 + 1); | ^ mined1.c:3649:13: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3649 | putescape ("\033#4"); putescape (logo2); | ^ mined1.c:3649:35: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3649 | putescape ("\033#4"); putescape (logo2); | ^ mined1.c:3650:13: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3650 | putstring ("\n"); | ^ mined1.c:3663:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3663 | set_cursor (XMAX / 2 - 5, splashpos); | ^ mined1.c:3664:12: warning: passing arguments to 'putescape' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3664 | putescape (sixelsplash); | ^ mined1.c:3665:12: warning: passing arguments to 'putstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3665 | putstring ("\n"); | ^ mined1.c:3681:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3681 | status_msg ("Trying to switch to command line view (normal screen)"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:3682:17: warning: passing arguments to 'screen_buffer' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3682 | screen_buffer (False); | ^ mined1.c:3686:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3686 | status_msg ("Returned to editing view (alternate screen)"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_Pgcc -DTERMIO -Dunix -Dunix -DNOPROTO -pipe -Os -I/opt/pkg/include/ncurses -c textfile.c -o ../bin/Darwin.arm64/textfile.o TR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:3703:30: warning: passing arguments to 'term_Unicode_version_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3703 | term_Unicode_version_name (width_data_version)); | ^ mined1.c:3712:30: warning: passing arguments to 'term_Unicode_version_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3712 | term_Unicode_version_name (cjk_width_data_version)); | ^ mined1.c:3717:30: warning: passing arguments to 'term_Unicode_version_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3717 | term_Unicode_version_name (combining_data_version), | ^ mined1.c:3814:12: warning: passing arguments to 'get_term' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3814 | get_term (TERM); | ^ mined1.c:3817:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3817 | raw_mode (True); | ^ mined1.c:3829:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3829 | panic ("Min. 3x40 size needed for terminal", "too small"); | ^ mined1.c:3837:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3837 | status_msg ("Auto-detecting terminal properties - waiting for rxvt to report"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:3838:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3838 | set_cursor (0, 0); | ^ mined1.c:3842:27: warning: passing arguments to 'char_ready_within' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3842 | (void) char_ready_within (30, NIL_PTR); | ^ mined1.c:3860:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3860 | if (test_screen_width (sjis_3bytes) == 3) { | ^~~~~~~~~~~ mined1.c:3857:23: note: expanded from macro 'sjis_3bytes' 3857 | #define sjis_3bytes "xa" | ^~~~ mined1.c:3861:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3861 | (void) set_term_encoding ("Shift-JIS", 'S'); | ^ mined1.c:3863:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3863 | (void) set_text_encoding ("Shift-JIS", 'S', "TERM=kterm"); | ^ mined1.c:3866:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3866 | (void) set_term_encoding ("EUC-JP", 'J'); | ^ mined1.c:3868:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3868 | (void) set_text_encoding ("EUC-JP", 'J', "TERM=kterm"); | ^ mined1.c:3914:22: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3914 | set_term_encoding ("TIS", 'T'); | ^ mined1.c:4103:36: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4103 | int cwidth = get_screen_width ("<81>02", cjk_widths, arrlen (cjk_widths)); | ^~~~ ~~~~ mined1.c:4118:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4118 | cwidth = get_screen_width ("ꥦޡ", cjk_widths, arrlen (cjk_widths)); | ^~~~~~~~~~~~~~~~ ~~~~ ~~~~~~~~~~~~~~~~ mined1.c:4122:32: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4122 | cwidth = get_screen_width ("<8E>", cjk_widths, arrlen (cjk_widths)); | ^~~~~~~~~~~~~~~~ mined1.c:4132:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4132 | if (euc3_term && get_screen_width ("<8F>x", cjk_widths, arrlen (cjk_widths)) > 3) { | ^~~~~~~~~~~~ mined1.c:4137:27: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 4137 | if (get_screen_width ("<88>", cjk_widths, arrlen (cjk_widths)) < 2) { | ^~~~~~~~ mined1.c:4170:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4170 | (void) set_term_encoding ("ASCII", ' '); | ^ mined1.c:4193:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4193 | (void) set_term_encoding ("ISO-8859-1", ' '); | ^ mined1.c:4217:47: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4217 | unsigned long cjk_combining = mappedtermchar (0x0300); | ^ mined1.c:4218:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4218 | if (no_char (cjk_combining)) { | ^ mined1.c:4224:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4224 | check += cjkencode_char (True, cjk_combining, check); | ^ mined1.c:4240:43: warning: passing arguments to 'lookup_mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4240 | unsigned long u = lookup_mappedtermchar (c); | ^ mined1.c:4241:20: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4241 | if (! no_unichar (u) && iscombining (u)) { | ^ mined1.c:4241:39: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4241 | if (! no_unichar (u) && iscombining (u)) { | ^ mined1.c:4262:37: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4262 | unsigned long lam = mappedtermchar (0x0644); | ^ mined1.c:4263:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4263 | if (! no_char (lam)) { | ^ mined1.c:4264:39: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4264 | unsigned long alef = mappedtermchar (0x0627); | ^ mined1.c:4269:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4269 | check += cjkencode_char (True, lam, check); | ^ mined1.c:4270:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4270 | check += cjkencode_char (True, alef, check); | ^ mined1.c:4307:44: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4307 | unsigned long cjk_degree = mappedtermchar (0x00B0); /* ° */ | ^ mined1.c:4308:45: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4308 | unsigned long cjk_lineend = mappedtermchar (0x300A); /* 《 */ | ^ mined1.c:4309:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4309 | unsigned long cjk_ellipsis = mappedtermchar (0x2026); /* … */ | ^ mined1.c:4310:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4310 | unsigned long cjk_uni = mappedtermchar (0x00A2); /* ¢ */ | ^ mined1.c:4311:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4311 | unsigned long cjk_dot = mappedtermchar (0x00B7); /* · */ | ^ mined1.c:4312:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4312 | unsigned long cjk_lat = mappedtermchar (0x00F8); /* ø */ | ^ mined1.c:4313:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4313 | unsigned long cjk_shy = mappedtermchar (0x00AD); /* ­ */ | ^ mined1.c:4314:41: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4314 | unsigned long cjk_ten = mappedtermchar (0x3248); /* ㉈ */ | ^ mined1.c:4320:26: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4320 | check += cjkencode_char (True, cjk_ellipsis, check); | ^ mined1.c:4321:26: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4321 | check += cjkencode_char (True, cjk_lineend, check); | ^ mined1.c:4322:26: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4322 | check += cjkencode_char (True, cjk_lineend, check); | ^ mined1.c:4323:14: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4323 | if (no_char (cjk_uni)) { | ^ mined1.c:4326:15: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4326 | if (no_char (cjk_uni)) { | ^ mined1.c:4327:29: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4327 | cjk_uni = mappedtermchar (0x00AF); /* ¯ */ | ^ mined1.c:4330:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4330 | if (! no_char (cjk_uni)) { | ^ mined1.c:4331:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4331 | check += cjkencode_char (True, cjk_uni, check); | ^ mined1.c:4332:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4332 | check += cjkencode_char (True, cjk_uni, check); | ^ mined1.c:4333:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4333 | check += cjkencode_char (True, cjk_uni, check); | ^ mined1.c:4334:27: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4334 | check += cjkencode_char (True, cjk_uni, check); | ^ mined1.c:4346:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4346 | if (! no_char (cjk_uni) && (cjkwidth & 1) == 0) { | ^ mined1.c:4351:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4351 | if (! no_char (cjk_degree)) { | ^ mined1.c:4353:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4353 | check += cjkencode_char (True, cjk_degree, check); | ^ mined1.c:4374:18: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4374 | if (! no_char (cjk_ten)) { | ^ mined1.c:4376:29: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4376 | check += cjkencode_char (True, cjk_ten, check); | ^ mined1.c:4383:51: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4383 | if (cjk_width_data_version < U520 && ! no_char (cjk_shy)) { | ^ mined1.c:4385:29: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4385 | check += cjkencode_char (True, cjk_shy, check); | ^ mined1.c:4392:18: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4392 | if (! no_char (cjk_lat)) { | ^ mined1.c:4394:29: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4394 | check += cjkencode_char (True, cjk_lat, check); | ^ mined1.c:4402:44: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4402 | } else if (rxvt_version > 0 && ! no_char (cjk_dot)) { | ^ mined1.c:4404:28: warning: passing arguments to 'cjkencode_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4404 | check += cjkencode_char (True, cjk_dot, check); | ^ mined1.c:4711:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4711 | set_fkeymap (NIL_PTR); | ^ mined1.c:4770:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4770 | set_fkeymap ("linux"); | ^ mined1.c:4897:42: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4897 | if (UTF_TAB_marker && iswide (utf8value (UTF_TAB_marker))) { | ^ mined1.c:4897:31: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4897 | if (UTF_TAB_marker && iswide (utf8value (UTF_TAB_marker))) { | ^ mined1.c:4900:43: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4900 | if (UTF_TAB0_marker && iswide (utf8value (UTF_TAB0_marker))) { | ^ mined1.c:4900:32: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4900 | if (UTF_TAB0_marker && iswide (utf8value (UTF_TAB0_marker))) { | ^ mined1.c:4903:43: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4903 | if (UTF_TAB2_marker && iswide (utf8value (UTF_TAB2_marker))) { | ^ mined1.c:4903:32: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4903 | if (UTF_TAB2_marker && iswide (utf8value (UTF_TAB2_marker))) { | ^ mined1.c:4906:45: warning: passing arguments to 'utf8value' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4906 | if (UTF_TABmid_marker && iswide (utf8value (UTF_TABmid_marker))) { | ^ mined1.c:4906:34: warning: passing arguments to 'iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4906 | if (UTF_TABmid_marker && iswide (utf8value (UTF_TABmid_marker))) { | ^ mined1.c:5035:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5035 | raw_mode (True); | ^ mined1.c:5107:28: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5107 | char * username = envvar ("MINEDUSER"); | ^ mined1.c:5113:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5113 | temp_dir = envvar ("TMPDIR"); | ^ mined1.c:5115:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5115 | temp_dir = envvar ("TMP"); | ^ mined1.c:5118:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5118 | temp_dir = envvar ("TEMP"); | ^ mined1.c:5133:23: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5133 | strip_trailingslash (temp_dn); | ^ mined1.c:5137:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5137 | minedtemp_dir = envvar ("MINEDTMP"); | ^ mined1.c:5340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5340 | matchwords (w, s) | ^ mined1.c:5366:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5366 | return set_term_encoding (charmap_term, ' '); | ^ mined1.c:5368:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5368 | return set_text_encoding (charmap_text, ' ', "set_charmap_2"); | ^ mined1.c:5360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5360 | set_charmap_2 (term, charmap_term, charmap_text) | ^ mined1.c:5379:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5379 | return set_term_encoding (charmap, ' '); | ^ mined1.c:5381:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5381 | return set_text_encoding (charmap, ' ', "set_charmap"); | ^ mined1.c:5374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5374 | set_charmap (term, charmap) | ^ mined1.c:5422:19: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5422 | set_quote_style (altstyle); | ^ mined1.c:5424:19: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5424 | set_quote_style (style); | ^ mined1.c:5418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5418 | set_quote_styles (style, altstyle) | ^ mined1.c:5463:18: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5463 | set_quote_style (style); | ^ mined1.c:5428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5428 | handle_locale_quotes (lang, alt) | ^ In file included from mined1.c:6: ./mined.h:788: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] 788 | extern void handle_locale_quotes _((char * lang, FLAG alt)); | ^ mined1.c:5485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5485 | handle_locale_encoding (term, encoding) | ^ mined1.c:5812:15: warning: passing arguments to 'sethomedir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5812 | sethomedir (minedopt); | ^ mined1.c:5821:23: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5821 | minedopt = scan_int (minedopt, & wheel_scroll); | ^ mined1.c:6057:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6057 | (void) set_text_encoding (NIL_PTR, 'L', "+u"); | ^ mined1.c:6060:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6060 | (void) set_text_encoding (NIL_PTR, 'U', "-u"); | ^ mined1.c:6066:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6066 | (void) set_text_encoding (NIL_PTR, 'L', "-l"); | ^ mined1.c:6098:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6098 | if (set_text_encoding (NIL_PTR, * minedopt, "-EU/L")) { | ^ mined1.c:6194:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6194 | if (set_term_encoding (NIL_PTR, enctag)) { | ^ mined1.c:6203:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6203 | if (set_text_encoding (NIL_PTR, enctag, "-E")) { | ^ mined1.c:6229:26: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6229 | strip_trailingslash (expandedname); | ^ mined1.c:6231:32: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6231 | backup_directory = dupstr (expandedname); | ^ mined1.c:6233:32: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6233 | backup_directory = dupstr (minedopt); | ^ mined1.c:6280:19: warning: passing arguments to 'setKEYMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6280 | if (setKEYMAP (minedopt)) { | ^ mined1.c:6331:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6331 | set_quote_style (minedopt); | ^ mined1.c:6643:15: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6643 | free_space (filter_read); | ^ mined1.c:6644:25: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6644 | filter_read = dupstr (minedopt); | ^ mined1.c:6651:15: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6651 | free_space (filter_write); | ^ mined1.c:6652:26: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6652 | filter_write = dupstr (minedopt); | ^ mined1.c:5720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5720 | eval_options (minedopt, command_line) | ^ mined1.c:6764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6764 | do_prefmov (varpoi, varsize) | ^ mined1.c:6808:18: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6808 | prefbuf = alloc (preflen); | ^ mined1.c:6802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6802 | preferences (save_restore) | ^ mined1.c:6999:23: warning: passing arguments to 'strip_trailingslash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6999 | strip_trailingslash (rcfn); | ^ mined1.c:7014:17: warning: passing arguments to 'reset_get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7014 | reset_get_line (False); | ^ mined1.c:7015:31: warning: passing arguments to 'get_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7015 | while (line_gotten (get_line (rc_fd, text_buffer, & dumlen, False))) { | ^ mined1.c:7015:21: warning: passing arguments to 'line_gotten' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7015 | while (line_gotten (get_line (rc_fd, text_buffer, & dumlen, False))) { | ^ mined1.c:7043:25: warning: passing arguments to 'wildcard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7043 | } else if (wildcard (& text_buffer [1], pref_name)) { | ^ mined1.c:7082:11: warning: assigning to 'character *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 7082 | optpoi = option; | ^ ~~~~~~ mined1.c:7100:11: warning: assigning to 'char *' from 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 7100 | optval = optpoi; | ^ ~~~~~~ mined1.c:6971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6971 | configure_preferences (applycommon) | ^ In file included from mined1.c:6: ./mined.h:789: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] 789 | extern void configure_preferences _((FLAG applycommon)); | ^ mined1.c:7175:24: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7175 | debug_mined = envvar ("DEBUG_MINED"); | ^ mined1.c:7176:17: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7176 | TERM = envstr ("TERM"); | ^ mined1.c:7182:14: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7182 | if (envvar ("NoCtrlSQ") || envvar ("NoControlSQ")) { | ^ mined1.c:7182:37: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7182 | if (envvar ("NoCtrlSQ") || envvar ("NoControlSQ")) { | ^ mined1.c:7189:21: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7189 | transout = envstr ("MINEDOUT"); | ^ mined1.c:7197:14: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7197 | if (envvar ("MINEDMODF")) { | ^ mined1.c:7198:22: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7198 | mined_modf = envvar ("MINEDMODF"); | ^ mined1.c:7247:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7247 | (void) set_term_encoding ("CP437", 'p'); | ^ mined1.c:7250:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7250 | (void) set_text_encoding ("CP850", 'P', "TERM=nansi"); | ^ mined1.c:7264:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7264 | (void) set_term_encoding ("CP850", 'P'); | ^ mined1.c:7267:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7267 | (void) set_text_encoding ("CP850", 'P', "TERM=pcansi"); | ^ mined1.c:7311:26: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7311 | if (strcontains (envstr ("CYGWIN"), "codepage:oem")) { | ^ mined1.c:7313:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7313 | (void) set_term_encoding ("CP850", 'P'); | ^ mined1.c:7315:33: warning: passing arguments to 'envstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7315 | } else if (strcontains (envstr ("CYGWIN"), "codepage:utf8")) { | ^ mined1.c:7316:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7316 | (void) set_term_encoding (NIL_PTR, 'U'); | ^ mined1.c:7356:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7356 | (void) set_term_encoding ("ASCII", ' '); | ^ mined1.c:7407:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7407 | (void) set_text_encoding ("ISO-8859-1", 'L', "TERM=cygwin"); | ^ mined1.c:7455:14: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7455 | if (envvar ("BACKUP_DIRECTORY")) { | ^ mined1.c:7456:28: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7456 | backup_directory = envvar ("BACKUP_DIRECTORY"); | ^ mined1.c:7459:13: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7459 | if (envvar ("BACKUPDIR")) { | ^ mined1.c:7460:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7460 | backup_directory = envvar ("BACKUPDIR"); | ^ mined1.c:7466:44: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7466 | if (backup_directory && is_absolute_path (backup_directory)) { | ^ mined1.c:7473:26: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7473 | if ((minedopt = envvar ("VERSION_CONTROL")) != NIL_PTR) { | ^ mined1.c:7488:30: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7488 | recover_directory = envvar ("AUTO_SAVE_DIRECTORY"); | ^ mined1.c:7490:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7490 | recover_directory = envvar ("AUTOSAVEDIR"); | ^ mined1.c:7495:45: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7495 | if (recover_directory && is_absolute_path (recover_directory)) { | ^ mined1.c:7508:21: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7508 | minedopt = envvar ("MINEDOPT"); | ^ mined1.c:7513:20: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7513 | minedopt = envvar ("MINED"); | ^ mined1.c:7522:28: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7522 | (void) setKEYMAP (envvar ("MINEDKEYMAP")); | ^ mined1.c:7522:20: warning: passing arguments to 'setKEYMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7522 | (void) setKEYMAP (envvar ("MINEDKEYMAP")); | ^ mined1.c:7636:19: warning: passing arguments to 'filelist_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7636 | filelist_add (argv [fi], True); | ^ mined1.c:7665:9: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7665 | panic ("Cannot read both pipe and file", NIL_PTR); | ^ mined1.c:7676:25: warning: passing arguments to 'inputreadyafter' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7676 | (void) inputreadyafter (-1); | ^ mined1.c:7686:9: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7686 | panic ("Cannot open /dev/tty for reading", serror ()); | ^ mined1.c:7695:9: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7695 | panic ("Cannot open /dev/tty for writing", serror ()); | ^ mined1.c:7713:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7713 | set_fkeymap ("vt100"); | ^ mined1.c:7716:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7716 | set_fkeymap ("rxvt"); | ^ mined1.c:7725:15: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7725 | set_fkeymap ("hp"); | ^ mined1.c:7737:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7737 | set_fkeymap ("52"); | ^ mined1.c:7739:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7739 | (void) set_term_encoding ("ASCII", ' '); | ^ mined1.c:7751:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7751 | set_fkeymap ("o"); | ^ mined1.c:7754:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7754 | (void) set_term_encoding ("KOI8-R", ' '); | ^ mined1.c:7759:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7759 | (void) set_term_encoding ("KOI8-R", ' '); | ^ mined1.c:7761:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7761 | (void) set_term_encoding ("ISO-8859-1", ' '); | ^ mined1.c:7763:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7763 | (void) set_term_encoding ("CP437", 'p'); | ^ mined1.c:7767:27: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7767 | (void) set_term_encoding ("MacRoman", 'M'); | ^ mined1.c:7771:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7771 | (void) set_term_encoding ("ASCII", ' '); | ^ mined1.c:7780:28: warning: passing arguments to 'set_term_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7780 | (void) set_term_encoding ("MacRoman", 'M'); | ^ mined1.c:7784:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7784 | set_fkeymap ("siemens"); | ^ mined1.c:7789:14: warning: passing arguments to 'set_fkeymap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7789 | set_fkeymap ("interix"); | ^ mined1.c:7819:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7819 | raw_mode (False); | ^ mined1.c:7829:29: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7829 | detect_encodings = envvar ("MINEDDETECT"); | ^ mined1.c:7837:34: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7837 | preselect_quote_style = envvar ("MINEDQUOTES"); | ^ mined1.c:7841:16: warning: passing arguments to 'envvar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7841 | env = envvar ("MINEDHANINFO"); | ^ mined1.c:7909:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7909 | raw_mode (False); | ^ mined1.c:7920:8: warning: passing arguments to 'panic' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7920 | panic ("Cannot allocate memory", NIL_PTR); | ^ mined1.c:7934:18: warning: passing arguments to 'load_wild_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7934 | load_wild_file (NIL_PTR, reading_pipe, False); | ^ mined1.c:7937:31: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7937 | load_wild_file (filelist_get (argi), False, False); | ^ mined1.c:7937:17: warning: passing arguments to 'load_wild_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7937 | load_wild_file (filelist_get (argi), False, False); | ^ mined1.c:7942:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7942 | raw_mode (False); | ^ mined1.c:7946:36: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7946 | printf ("%s: %s\n", filelist_get (argi), get_text_encoding ()); | ^ mined1.c:7950:13: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7950 | raw_mode (True); | ^ mined1.c:7951:33: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7951 | load_wild_file (filelist_get (argi), False, True); | ^ mined1.c:7951:19: warning: passing arguments to 'load_wild_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7951 | load_wild_file (filelist_get (argi), False, True); | ^ mined1.c:7952:13: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7952 | raw_mode (False); | ^ mined1.c:7953:37: warning: passing arguments to 'filelist_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7953 | printf ("%s: %s\n", filelist_get (argi), get_text_encoding ()); | ^ mined1.c:7962:22: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7962 | (void) scan_int (argv [initlini] + 1, & initlinenum); | ^ mined1.c:7964:46: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7964 | if (initlinenum <= 0 || (initline = proceed (header->next, initlinenum - 1)) == tail) { | ^ mined1.c:7965:46: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7965 | error2 ("Invalid line number: ", dec_out ((long) initlinenum)); | ^ mined1.c:7965:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7965 | error2 ("Invalid line number: ", dec_out ((long) initlinenum)); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ mined1.c:7967:31: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7967 | move_to (x, find_y_w_o_RD (initline)); | ^ mined1.c:7967:13: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7967 | move_to (x, find_y_w_o_RD (initline)); | ^ mined1.c:7968:5: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7968 | fstatus ("Loaded", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ mined1.c:7974:17: warning: passing arguments to 'search_ini' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7974 | if (search_ini (inisearch, FORWARD, True) == False) { | ^ mined1.c:7978:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7978 | fstatus ("Loaded", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ mined1.c:7984:2: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7984 | fstatus ("Editing for standard output", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ mined1.c:7993:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7993 | display (0, top_line, last_y, 0); | ^ mined1.c:8015:15: warning: passing arguments to 'status_uni' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8015 | status_uni (ext_status); | ^ mined1.c:8021:16: warning: passing arguments to 'display_Han' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8021 | display_Han (cur_text, False); | ^ mined1.c:8027:15: warning: passing arguments to 'display_Han' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8027 | display_Han (cur_text, False); | ^ mined1.c:8039:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8039 | displaymenuline (True); | ^ mined1.c:8052:25: warning: passing arguments to 'display_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8052 | if (display_scrollbar (update_scrollbar_lazy)) { | ^ mined1.c:8064:11: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8064 | debuglog (0, "flush", 0); | ^ mined1.c:8080:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8080 | if (command (inputchar) != Scharacter | ^ mined1.c:8081:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8081 | && command (inputchar) != Sdash | ^ mined1.c:8082:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8082 | && command (inputchar) != Ssinglequote | ^ mined1.c:8083:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8083 | && command (inputchar) != Sdoublequote | ^ mined1.c:8088:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8088 | if (command (inputchar) != Scharacter) { | ^ mined1.c:8089:21: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8089 | keyproc = command (inputchar); | ^ mined1.c:8092:27: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8092 | inputchar = encodedchar (inputchar); | ^ mined1.c:8102:14: warning: passing arguments to 'command' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8102 | if (command (inputchar) == FOCUSin) { | ^ mined1.c:8115:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8115 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ mined1.c:8118:23: warning: passing arguments to 'invoke_key_function' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8118 | invoke_key_function (inputchar); | ^ mined1.c:7164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7164 | main (argc, argv) | ^ mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/armscii.c -o ../bin/Darwin.arm64/charmaps/armscii.o In file included from textfile.c:16: ./mined.h:138: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] 138 | extern char * getcwd (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:453:18: note: conflicting prototype is here 453 | char *_LIBC_CSTR getcwd(char *_LIBC_COUNT_OR_NULL(__size), size_t __size); | ^ In file included from textfile.c:16: ./mined.h:143: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 previous declaration [-Wdeprecated-non-prototype] 143 | extern void exit (); | ^ ./mined.h:144: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] 144 | extern char * getenv (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:162:18: note: conflicting prototype is here 162 | char *_LIBC_CSTR getenv(const char *); | ^ In file included from textfile.c:16: ./mined.h:170: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 previous declaration [-Wdeprecated-non-prototype] 170 | extern pid_t wait (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/wait.h:246:9: note: conflicting prototype is here 246 | pid_t wait(int *) __DARWIN_ALIAS_C(wait); | ^ In file included from textfile.c:16: ./mined.h:173:21: 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] 173 | extern unsigned int sleep (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:485:3: note: conflicting prototype is here 485 | sleep(unsigned int) __DARWIN_ALIAS_C(sleep); | ^ In file included from textfile.c:16: ./mined.h:234: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 previous declaration [-Wdeprecated-non-prototype] 234 | extern int access (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:435:6: note: conflicting prototype is here 435 | int access(const char *, int); | ^ In file included from textfile.c:16: ./mined.h:236: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 previous declaration [-Wdeprecated-non-prototype] 236 | extern int close (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:441:6: note: conflicting prototype is here 441 | int close(int) __DARWIN_ALIAS_C(close); | ^ In file included from textfile.c:16: ./mined.h:239: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 previous declaration [-Wdeprecated-non-prototype] 239 | extern int system (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_stdlib.h:203:6: note: conflicting prototype is here 203 | int system(const char *) __DARWIN_ALIAS_C(system); | ^ In file included from textfile.c:16: ./mined.h:240: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 previous declaration [-Wdeprecated-non-prototype] 240 | extern int isatty (); | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:467:6: note: conflicting prototype is here 467 | int isatty(int); | ^ In file included from textfile.c:16: ./mined.h:242: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 previous declaration [-Wdeprecated-non-prototype] 242 | extern int strcmp (); | ^ mkdir -p ../bin/Darwin.arm64/charmaps In file included from textfile.c:23: /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/dirent.h:83:2: error: use of undeclared identifier 'unused' 83 | __unused long __padding; /* (__dd_rewind space left for bincompat) */ | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:172:40: note: expanded from macro '__unused' 172 | #define __unused __attribute__((__unused__)) | ^ ./mined.h:202:35: note: expanded from macro '__unused__' 202 | #define __unused__ __attribute__((unused)) | ^ textfile.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | UTF8_len (c) | ^ In file included from textfile.c:16: ./mined.h:889: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] 889 | extern int UTF8_len _((char)); | ^ textfile.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 | CJK_len (text) | ^ In file included from textfile.c:16: ./mined.h:890: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] 890 | extern int CJK_len _((character *)); | ^ textfile.c:192:16: warning: passing arguments to 'advance_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | advance_char (& string); | ^ textfile.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | char_count (string) | ^ In file included from textfile.c:16: ./mined.h:891: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] 891 | extern int char_count _((char *)); | ^ textfile.c:212:20: warning: passing arguments to 'advance_char_scr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | advance_char_scr (& string, & count, start); | ^ textfile.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | col_count (string) | ^ In file included from textfile.c:16: ./mined.h:892: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] 892 | extern int col_count _((char *)); | ^ textfile.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 | utf8_info (u, length, ucs) | ^ In file included from textfile.c:16: ./mined.h:893: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] 893 | extern void utf8_info _((char *, int *, unsigned long *)); | ^ textfile.c:301:16: warning: passing arguments to 'precede_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | precede_char (& charpos, linebegin); | ^ textfile.c:302:31: warning: passing arguments to 'unicodevalue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | prev_unichar = unicodevalue (charpos); | ^ textfile.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | isjoined (unichar, charpos, linebegin) | ^ In file included from textfile.c:16: ./mined.h:894: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] 894 | extern int isjoined _((unsigned long, char *, char *)); | ^ textfile.c:323:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | if (mapped_term && no_char (mappedtermchar (unichar))) { | ^ textfile.c:323:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | if (mapped_term && no_char (mappedtermchar (unichar))) { | ^ textfile.c:327:64: warning: passing arguments to 'iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | return isjoined (unichar, charpos, linebegin) || iscombining (unichar); | ^ textfile.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | iscombined (unichar, charpos, linebegin) | ^ In file included from textfile.c:16: ./mined.h:895: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] 895 | extern int iscombined _((unsigned long, char *, char *)); | ^ textfile.c:334:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | if (mapped_term && no_char (mappedtermchar (ucs))) { | ^ textfile.c:334:30: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | if (mapped_term && no_char (mappedtermchar (ucs))) { | ^ textfile.c:337:26: warning: passing arguments to 'term_iscombining' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | return term_iscombining (ucs); | ^ textfile.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | iscombining (ucs) | ^ In file included from textfile.c:16: ./mined.h:904: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] 904 | extern int iscombining _((unsigned long ucs)); | ^ textfile.c:356:22: warning: passing arguments to 'term_iswide' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | return term_iswide (ucs); | ^ textfile.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | iswide (ucs) | ^ In file included from textfile.c:16: ./mined.h:905: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] 905 | extern int iswide _((unsigned long ucs)); | ^ textfile.c:382:45: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | unsigned long cjktermchar = mappedtermchar (unichar); | ^ textfile.c:383:16: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | if (! no_char (cjktermchar)) { | ^ textfile.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | uniscrwidth (unichar, charpos, linebegin) | ^ In file included from textfile.c:16: ./mined.h:906: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] 906 | extern int uniscrwidth _((unsigned long, char *, char *)); | ^ textfile.c:424:45: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | unsigned long unichar = lookup_encodedchar (cjkchar); | ^ textfile.c:425:17: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (no_unichar (unichar) && ! valid_cjk (cjkchar, NIL_PTR)) { | ^ textfile.c:425:42: warning: passing arguments to 'valid_cjk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | if (no_unichar (unichar) && ! valid_cjk (cjkchar, NIL_PTR)) { | ^ textfile.c:445:24: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | } else if (no_unichar (unichar) && cjk_term) { | ^ textfile.c:456:45: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | unsigned long unichar = lookup_encodedchar (cjkchar); | ^ textfile.c:457:19: warning: passing arguments to 'no_unichar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | if (! no_unichar (unichar)) { | ^ textfile.c:458:46: warning: passing arguments to 'mappedtermchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | unsigned long cjktermchar = mappedtermchar (unichar); | ^ textfile.c:459:17: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | if (! no_char (cjktermchar)) { | ^ textfile.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | cjkscrwidth (cjkchar, charpos, linebegin) | ^ In file included from textfile.c:16: ./mined.h:907: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] 907 | extern int cjkscrwidth _((unsigned long, char *, char *)); | ^ textfile.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | advance_utf8 (poipoi) | ^ In file included from textfile.c:16: ./mined.h:910: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] 910 | extern void advance_utf8 _((char * *)); | ^ textfile.c:505:22: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 505 | int len = CJK_len (* poipoi); | ^~~~~~~~ textfile.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | advance_cjk (poipoi) | ^ textfile.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | advance_char (poipoi) | ^ In file included from textfile.c:16: ./mined.h:912: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] 912 | extern void advance_char _((char * *)); | ^ textfile.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | charbegin (line, s) | ^ In file included from textfile.c:16: ./mined.h:908: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 subsequent definition [-Wdeprecated-non-prototype] 908 | extern char * charbegin _((char *, char *)); | ^ textfile.c:565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | precede_char (poipoi, begin_line) | ^ In file included from textfile.c:16: ./mined.h:913: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] 913 | extern void precede_char _((char * *, char *)); | ^ textfile.c:606:14: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 606 | utf8_info (poi, & len, & unichar); | ^~~ textfile.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | utf8value (poi) | ^ In file included from textfile.c:16: ./mined.h:914:22: 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] 914 | extern unsigned long utf8value _((character *)); | ^ textfile.c:621:13: warning: passing 'character *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 621 | utf8_info (poi, & len, & unichar); | ^~~ textfile.c:614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | charvalue (poi) | ^ In file included from textfile.c:16: ./mined.h:915:22: 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] 915 | extern unsigned long charvalue _((character *)); | ^ textfile.c:650:28: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | return lookup_encodedchar (code); | ^ textfile.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | unicode (code) | ^ In file included from textfile.c:16: ./mined.h:917:22: 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] 917 | extern unsigned long unicode _((unsigned long)); | ^ textfile.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | unicodevalue (poi) | ^ In file included from textfile.c:16: ./mined.h:916:22: 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] 916 | extern unsigned long unicodevalue _((character *)); | ^ textfile.c:681:20: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 681 | return charvalue (poi); | ^~~ textfile.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | precedingchar (curpoi, begin_line) | ^ In file included from textfile.c:16: ./mined.h:918:22: 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] 918 | extern unsigned long precedingchar _((char *, char *)); | ^ textfile.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | advance_utf8_scr (poipoi, colpoi, linebegin) | ^ In file included from textfile.c:16: ./mined.h:909: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] 909 | extern void advance_utf8_scr _((char * *, int *, char *)); | ^ textfile.c:724:21: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 724 | int len = CJK_len (* poipoi); | ^~~~~~~~ textfile.c:726:40: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 726 | (* colpoi) += cjkscrwidtgcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/ascii.c -o ../bin/Darwin.arm64/charmaps/ascii.o h (charvalue (* poipoi), * poipoi, linebegin); | ^~~~~~~~ textfile.c:736:45: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | unsigned long unichar = lookup_encodedchar ((character) * * poipoi); | ^ textfile.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | advance_char_scr (poipoi, colpoi, linebegin) | ^ In file included from textfile.c:16: ./mined.h:911: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] 911 | extern void advance_char_scr _((char * *, int *, char *)); | ^ textfile.c:784:20: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | if (iswhitespace (prevchar) || isdash (prevchar) || isopeningparenthesis (prevchar)) { | ^ textfile.c:784:41: warning: passing arguments to 'isdash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | if (iswhitespace (prevchar) || isdash (prevchar) || isopeningparenthesis (prevchar)) { | ^ textfile.c:784:76: warning: passing arguments to 'isopeningparenthesis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 784 | if (iswhitespace (prevchar) || isdash (prevchar) || isopeningparenthesis (prevchar)) { | ^ textfile.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | opensquote (prevchar) | ^ In file included from textfile.c:16: ./mined.h:919: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] 919 | extern FLAG opensquote _((unsigned long prevchar)); | ^ textfile.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | isopeningquote (s, beg) | ^ textfile.c:864:18: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | set_quote_style (s); | ^ textfile.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | check_quote_style (c, s) | ^ textfile.c:988:21: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | if (iswhitespace (prev_unichar)) { | ^ textfile.c:1060:21: warning: passing arguments to 'iswhitespace' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | if (iswhitespace (prev_unichar)) { | ^ textfile.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | utf8_count (string) | ^ textfile.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | strcaseeq (s1, s2) | ^ textfile.c:1142:27: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | char * bn = getbasename (file_name); | ^ textfile.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | line_gotten (ret) | ^ In file included from textfile.c:31: ./textfile.h:40: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] 40 | extern int line_gotten _((int ret)); | ^ textfile.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | set_error (err) | ^ textfile.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | set_errno (err) | ^ textfile.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | max_cjk_count (cnt, tag) | ^ textfile.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | reset_get_line (from_text_file) | ^ In file included from textfile.c:31: ./textfile.h:41: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] 41 | extern void reset_get_line _((FLAG from_text_file /* consider UTF-16 ? */)); | ^ textfile.c:1451:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1451 | status_fmt2 (get_line_error, " - Loading failed!"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:1453:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | status_fmt2 (get_line_error, " - Inserting failed!"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | UTF16_transform (little_endian, UTF8buf, maxbufl, next_byte_poi, fini_byte) | ^ textfile.c:1549:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | UTF16buf = alloc (filebuflen + 1); | ^ textfile.c:1654:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | void auto_detect_byte (curbyte, do_auto_detect) | ^ textfile.c:2026:92: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2026 | read_chars = UTF16_transform (utf16_little_endian, filebuf, filebuflen, & next_byte, fini_byte); | ^~~~~~~~~ textfile.c:2067:16: warning: initializing 'character *' (aka 'unsigned char *') with an expression of type 'char[20481]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2067 | character * epoi = filebuf; | ^ ~~~~~~~ textfile.c:2071:33: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2071 | * epoi = lookup_encodedchar (* epoi); | ^ textfile.c:2089:30: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2089 | (void) set_text_encoding (":16", ' ', "BOM 16"); | ^ textfile.c:2096:30: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | (void) set_text_encoding (":61", ' ', "BOM 61"); | ^ textfile.c:2123:31: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2123 | (void) set_text_encoding (":16", ' ', "detect 16"); | ^ textfile.c:2127:31: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2127 | (void) set_text_encoding (":61", ' ', "detect 61"); | ^ textfile.c:2153:32: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2153 | (void) set_text_encoding ("CP1047", ' ', "detect EBCDIC"); | ^ textfile.c:2180:90: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2180 | read_chars = UTF16_transform (utf16_little_endian, filebuf, filebuflen, & next_byte, fini_byte); | ^~~~~~~~~ textfile.c:2192:17: warning: initializing 'character *' (aka 'unsigned char *') with an expression of type 'char[20481]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2192 | character * epoi = filebuf; | ^ ~~~~~~~ textfile.c:2196:34: warning: passing arguments to 'lookup_encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | * epoi = lookup_encodedchar (* epoi); | ^ textfile.c:2317:20: warning: passing arguments to 'no_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2317 | && ! no_char (code_NL) && curbyte == code_NL) | ^ textfile.c:1978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | get_line (fd, buffer, len, do_auto_detect) | ^ In file included from textfile.c:31: ./textfile.h:44: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] 44 | extern int get_line _((int fd, char * buffer, int * len, FLAG do_auto_detect)); | ^ textfile.c:2422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | escape_filename (fn_escaped, fn) | ^ textfile.c:2492:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | spoi = scan_int (spoi, & open_linum); | ^ textfile.c:2493:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2493 | spoi = scan_int (spoi, & open_col); | ^ textfile.c:2498:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2498 | spoi = scan_int (spoi, & lines_per_page); | ^ textfile.c:2499:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | spoi = scan_int (spoi, & v4); | ^ textfile.c:2502:20: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2502 | spoi = scan_int (spoi, & v5); | ^ textfile.c:2503:20: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2503 | spoi = scan_int (spoi, & v6); | ^ textfile.c:2514:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2514 | spoi = scan_int (spoi, & vq); | ^ textfile.c:2519:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2519 | set_quote_style ("« »"); | ^ textfile.c:2521:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2521 | set_quote_style ("“” ‘’"); | ^ textfile.c:2523:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2523 | set_quote_style ("„“ ‚‘"); | ^ textfile.c:2525:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2525 | set_quote_style ("«» ‹›"); | ^ textfile.c:2527:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2527 | set_quote_style ("»« ›‹"); | ^ textfile.c:2529:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2529 | set_quote_style ("„” ‚’"); | ^ textfile.c:2531:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2531 | set_quote_style ("”” ’’"); | ^ textfile.c:2533:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2533 | set_quote_style ("»» ››"); | ^ textfile.c:2535:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2535 | set_quote_style ("『』 「」"); | ^ textfile.c:2537:20: warning: passing arguments to 'set_quote_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2537 | set_quote_type (default_quote_type); | ^ textfile.c:2567:21: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | set_quote_style (qpoi); | ^ textfile.c:2587:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2587 | spoi = scan_int (spoi, & vt); | ^ textfile.c:2601:14: warning: passing arguments to 'setKEYMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2601 | setKEYMAP (spoi); | ^ textfile.c:2609:19: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2609 | spoi = scan_int (spoi, & vtabexp); | ^ textfile.c:2446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2446 | get_open_pos (fn) | ^ textfile.c:2642:34: warning: passing arguments to 'quote_mark' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2642 | quote_style_marker = quote_mark (quote_type, 0); | ^ textfile.c:2633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2633 | write_open_pos (fd, fn) | ^ textfile.c:2700:37: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2700 | struct marker_entry * new = alloc (sizeof (struct marker_entry)); | ^ textfile.c:2702:21: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2702 | new->fn = dupstr (fn); | ^ textfile.c:2703:23: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2703 | new->info = dupstr (info); | ^ textfile.c:2712:25: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | char * _info = dupstr (info); | ^ textfile.c:2715:15: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2715 | free_space ((* mlpoi)->info); | ^ textfile.c:2694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2694 | put_marker_list (mlpoi, fn, info) | ^ textfile.c:2727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2727 | write_marker_list (fd, ml) | ^ textfile.c:2758:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2758 | free_space ((* mlpoi)->fn); | ^ textfile.c:2759:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2759 | free_space ((* mlpoi)->info); | ^ textfile.c:2760:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2760 | free_space (* mlpoi); | ^ textfile.c:2753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2753 | clear_marker_list (mlpoi) | ^ textfile.c:2841:20: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2841 | (void) scan_int (mf, & duml); | ^ textfile.c:2859:18: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2859 | if (delete_file (mark_file_in) < 0) { | ^ textfile.c:2774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2774 | rewrite_open_pos (fn, force) | ^ textfile.c:2895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2895 | save_open_pos (fn, force) | ^ textfile.c:2916:2: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2916 | fstatus ("Remembering file position", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:2918:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2918 | error2 ("Error when saving file position to ", mark_file_out); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:2939:24: warning: passing arguments to 'is_absolute_path' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2939 | if (is_absolute_path (dir)) { | ^ textfile.c:2936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2936 | get_directory (dir) | ^ textfile.c:2964:27: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2964 | char * bn = getbasename (fn); | ^ textfile.c:2953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2953 | get_recovery_name (fn) | ^ textfile.c:3028:24: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3028 | prefix = getbasename (file_name); | ^ textfile.c:3051:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3051 | error2 ("Cannot open directory ", dirname); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:3065:24: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3065 | afterver = scan_int (suffix, & ver); | ^ textfile.c:3075:24: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3075 | afterver = scan_int (suffix, & ver); | ^ textfile.c:3015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3015 | get_backup_name (file_name) | ^ textfile.c:3130:27: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | char * bn = getbasename (fn); | ^ textfile.c:3126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3126 | get_lockfile_name (fn) | ^ textfile.c:3187:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3187 | if (rd > 0 && strisprefix ("!", linkbuf)) { | ^~~~~~~~ ./mined.h:1143:40: note: expanded from macro 'strisprefix' 1143 | #define strisprefix(p, s) (strncmp (s, p, strlen (p)) == 0) | ^ textfile.c:3187:40: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 3187 | if (rd > 0 && strisprefix ("!", linkbuf)) { | ^~~~~~~~ ./mined.h:1143:51: note: expanded from macro 'strisprefix' 1143 | #define strisprefix(p, s) (strncmp (s, p, strlen (p)) == 0) | ^ textfile.c:3191:56: warning: passing 'char *' to parameter of type 'character *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 3191 | rd = UTF16_transform (True, target, size, & linkpoi, linkend); | ^~~~~~~ textfile.c:3167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3167 | getsymboliclink (name, target, size) | ^ textfile.c:3207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3207 | setlocktarget (target) | ^ textfile.c:3268:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3268 | status_fmt2 ("", msg); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:3289:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3289 | status_fmt2 ("", "Notice: File has just been locked by someone; Unlock from File menu"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:3306:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3306 | error ("Cannot lock file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:3324:19: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3324 | if (delete_file (lf) < 0) { | ^ textfile.c:3321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3321 | delete_lockfile (lf) | ^ textfile.c:3347:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3347 | status_file ("Unlocking ", file_name); | ^ textfile.c:3451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3451 | is_dev (fn, fsbufpoi) | ^ textfile.c:3470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3470 | file_changed (fn, fstatpoi) | ^ textfile.c:3528:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3528 | status_fmt2 ("", "Notice: A newer recovery file exists; Recover from File menu"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:3514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3514 | check_recovery_file (delay_msg) | ^ textfile.c:3548:23: warning: passing arguments to 'dupstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3548 | filelist_add (dupstr (file_name), False); | ^ textfile.c:3548:15: warning: passing arguments to 'filelist_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3548 | filelist_add (dupstr (file_name), False); | ^ textfile.c:3552:25: warning: passing arguments to 'configure_preferences' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3552 | configure_preferences (False); /* restoring initial preferences first */ | ^ textfile.c:3561:23: warning: passing arguments to 'update_syntax_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3561 | update_syntax_state (header->next); | ^ textfile.c:3536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3536 | update_file_name (newname, update_display, addtolist) | ^ textfile.c:3588:14: warning: passing arguments to 'free_space' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3588 | free_space (line->text); | ^ textfile.c:3589:15: warning: passing arguments to 'free_header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3589 | free_header (line); | ^ textfile.c:3741:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3741 | (void) set_text_encoding (NIL_PTR, 'U', "load: U"); | ^ textfile.c:3744:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3744 | (void) set_text_encoding (NIL_PTR, 'L', "load: L"); | ^ textfile.c:3760:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3760 | (void) set_text_encoding (":??", ' ', "load: CJK"); | ^ textfile.c:3770:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3770 | (void) set_text_encoding ("VISCII", 'V', "detect"); | ^ textfile.c:3774:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3774 | (void) set_text_encoding ("CP1047", ' ', "detect"); | ^ textfile.c:3778:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3778 | (void) set_text_encoding ("CP1252", 'W', "detect"); | ^ textfile.c:3781:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3781 | (void) set_text_encoding ("CP850", 'P', "detect"); | ^ textfile.c:3783:29: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3783 | (void) set_text_encoding ("MacRoman", 'M', "detect"); | ^ textfile.c:3793:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3793 | (void) set_text_encoding (NIL_PTR, max_cjk_tag, "detect CJK"); | ^ textfile.c:3805:27: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3805 | (void) set_text_encoding (prev_text_encoding, ' ', "load: prev"); | ^ textfile.c:3806:18: warning: passing arguments to 'change_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3806 | change_encoding (new_text_encoding); | ^ textfile.c:3607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3607 | encoding_auto_detection (empty, do_auto_detect) | ^ textfile.c:3846:28: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3846 | line = line_insert_after (line, text_buffer, len, new_return_type); | ^ textfile.c:3815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3815 | read_file (fd, retpoi, do_auto_detect) | ^ textfile.c:3968:18: warning: passing arguments to 'set_quote_type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3968 | set_quote_type (default_quote_type); | ^ textfile.c:3970:18: warning: passing arguments to 'set_quote_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3970 | set_quote_style (preselect_quote_style); | ^ textfile.c:3978:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3978 | status_msg ("New file"); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:3988:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3988 | status_file ("Accessing ", file); | ^ textfile.c:4022:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4022 | error ("Cannot edit char/block device file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:4028:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4028 | status_file ("New file ", file); | ^ textfile.c:4069:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4069 | error2 ("Cannot open: " /*, file */, serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:4083:24: warning: passing arguments to 'configure_preferences' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4083 | configure_preferences (OPEN); /* restore command line options */ | ^ textfile.c:4093:28: warning: passing arguments to 'set_text_encoding' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4093 | (void) set_text_encoding (default_text_encoding, ' ', "load: def"); | ^ textfile.c:4105:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4105 | displaymenuline (False); | ^ textfile.c:4131:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4131 | raw_mode (False); | ^ textfile.c:4133:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4133 | set_cursor (0, YMAX); | ^ textfile.c:4136:9: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 4136 | pid = fork (); | ^ textfile.c:19:14: note: expanded from macro 'fork' 19 | #define fork vfork | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ textfile.c:4141:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4141 | raw_mode (True); | ^ textfile.c:4195:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4195 | raw_mode (True); | ^ textfile.c:4202:49: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4202 | status_fmt ("Filter wait error: ", serrorof (waiterr)); | ^ textfile.c:4202:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4202 | status_fmt ("Filter wait error: ", serrorof (waiterr)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4206:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4206 | status_fmt2 (filter_read, ": Failed to start filter"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4210:44: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4210 | status_fmt ("Filter dumped: ", dec_out (status & 0x7F)); | ^ textfile.c:4210:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4210 | status_fmt ("Filter dumped: ", dec_out (status & 0x7F)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4214:45: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4214 | status_fmt ("Filter aborted: ", dec_out (status & 0x7F)); | ^ textfile.c:4214:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4214 | status_fmt ("Filter aborted: ", dec_out (status & 0x7F)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4218:44: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4218 | status_fmt ("Filter error: ", serrorof (status >> 8)); | ^ textfile.c:4218:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4218 | status_fmt ("Filter error: ", serrorof (status >> 8)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4226:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4226 | status_file ("Reading ", file_name); | ^ textfile.c:4228:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4228 | status_file ("Reading ", file); | ^ textfile.c:4253:27: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4253 | line = line_insert_after (line, "\n", 1, lineend_NONE); | ^ textfile.c:4259:11: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4259 | debuglog ("closing", "loaded file", ""); | ^ textfile.c:4287:30: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4287 | line = line_insert_after (line, "\n", 1, default_lineend); | ^ textfile.c:4300:19: warning: passing arguments to 'displaymenuline' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4300 | displaymenuline (True); | ^ textfile.c:4309:27: warning: passing arguments to 'line_insert_after' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4309 | line = line_insert_after (tail->prev, "\n", -1, lineend_NONE); | ^ textfile.c:4326:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4326 | fstatus ("Loaded", nr_of_bytes, nr_of_chars); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:4334:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4334 | status_fmt ("Reading failed (buffer incomplete): ", serror ()); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4336:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4336 | status_fmt ("Reading failed (could not load): ", serror ()); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4347:9: warning: passing arguments to 'reset' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4347 | reset (header->next, 0); /* Initialize pointers */ | ^ textfile.c:4348:11: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4348 | move_to (0, 0); | ^ textfile.c:4353:29: warning: passing arguments to 'proceed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4353 | LINE * open_line = proceed (header->next, open_linum - 1); | ^ textfile.c:4357:28: warning: passing arguments to 'find_y_w_o_RD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4357 | move_to (0, find_y_w_o_RD (open_line)); | ^ textfile.c:4357:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4357 | move_to (0, find_y_w_o_RD (open_line)); | ^ textfile.c:4370:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4370 | move_address (prev_cpoi, y); | ^ textfile.c:4376:16: warning: passing arguments to 'move_address' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4376 | move_address (cpoi, y); | ^ textfile.c:4380:11: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4380 | display (0, top_line, last_y, 0); | ^ textfile.c:4384:4: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4384 | fstatus ("Loaded", nr_of_bytes, nr_of_chars); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:4386:4: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4386 | fstatus ("Loaded", nr_of_bytes, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:4389:9: warning: passing arguments to 'mark_n' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4389 | mark_n (0); | ^ textfile.c:4391:10: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4391 | display (0, top_line, last_y, 0); | ^ textfile.c:4392:10: warning: passing arguments to 'move_to' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4392 | move_to (0, 0); | ^ textfile.c:3908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3908 | load_file_position (file, aux, from_pipe, with_display, to_open_linum, to_open_pos) | ^ textfile.c:4417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4417 | load_file (file, aux, from_pipe, with_display) | ^ textfile.c:4432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4432 | load_wild_file (file, from_pipe, with_display) | ^ In file included from textfile.c:31: ./textfile.h:28: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] 28 | extern void load_wild_file _((char * file, FLAG from_pipe, FLAG with_display)); | ^ textfile.c:4468:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4468 | status_fmt ("Warning: New file appeared on disk", hint); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4470:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4470 | status_fmt ("Warning: File was replaced on disk", hint); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4472:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4472 | status_fmt ("Warning: File was modified meanwhile", hint); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4495:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4495 | status_file ("Checking ", name); | ^ textfile.c:4513:22: warning: passing arguments to 'status2_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4513 | c = status2_prompt ("yn", name [0] ? name : "[unknown file]", | ^ textfile.c:4515:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4515 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:4485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4485 | checkoverwrite (name) | ^ In file included from textfile.c:31: ./textfile.h:8: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] 8 | extern FLAG checkoverwrite _((char *)); | ^ textfile.c:4539:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4539 | if (get_filename ("Enter new file name:", file, False) == ERRORS) { | ^ textfile.c:4566:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4566 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:4596:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4596 | status_fmt2 ("", msg); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:4589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4589 | msg_write_error (op) | ^ textfile.c:4603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4603 | flush_filebuf (fd) | ^ In file included from textfile.c:31: ./textfile.h:48: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] 48 | extern int flush_filebuf _((int fd)); | ^ textfile.c:4651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4651 | writechar (fd, c) | ^ In file included from textfile.c:31: ./textfile.h:50: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] 50 | extern int writechar _((int fd, char)); | ^ textfile.c:4668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4668 | writeucs (fd, c) | ^ textfile.c:4710:18: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4710 | c = encodedchar (c); | ^ textfile.c:4701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4701 | writelechar (fd, c, handle_utf16) | ^ textfile.c:4723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4723 | write_lineend (fd, return_type, handle_utf16) | ^ In file included from textfile.c:31: ./textfile.h:51: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] 51 | extern int write_lineend _((int fd, lineend_type return_type, FLAG handle_utf16)); | ^ textfile.c:4872:21: warning: passing arguments to 'encodedchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4872 | c = encodedchar (c); | ^ textfile.c:4834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4834 | write_line (fd, text, return_type, handle_utf16) | ^ textfile.c:4961:15: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4961 | status_file ("Flushing ", fn); | ^ textfile.c:4974:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4974 | status_file ("Closing ", fn); | ^ textfile.c:4914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4914 | write_file (fd, fn) | ^ textfile.c:5039:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5039 | status_file ("Copying to backup file ", backup_name); | ^ textfile.c:5040:23: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5040 | backup_ok = copyfile (fn, backup_name); | ^ textfile.c:5043:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5043 | error ("Could not copy to backup file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5092:20: warning: passing arguments to 'progcallpp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5092 | (void) progcallpp (NIL_PTR, -1, (char * *) 0, | ^ textfile.c:5029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5029 | do_backup (fn) | ^ In file included from textfile.c:31: ./textfile.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 FLAG do_backup _((char *)); | ^ textfile.c:5125:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5125 | status_line ("Writing ", "to standard output"); | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5129:14: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5129 | raw_mode (False); | ^ textfile.c:5130:16: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5130 | set_cursor (0, YMAX); | ^ textfile.c:5136:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5136 | raw_mode (True); | ^ textfile.c:5150:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5150 | fstatus ("(Write not necessary)", -1L, -1L); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:5153:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5153 | status_msg ("Write not necessary."); | ^ ./mined.h:1155:26: note: expanded from macro 'status_msg' 1155 | #define status_msg(str) status_line (str, NIL_PTR) | ^ ./mined.h:1157:21: note: expanded from macro 'status_line' 1157 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5168:21: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5168 | ret = get_filename ("Saving edited text; Enter file name:", file_name2, False); | ^ textfile.c:5194:5: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5194 | error ("Not writing to char/block device file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5217:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5217 | error ("Not writing to char/block device file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5227:33: warning: passing arguments to 'status2_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5227 | character c = status2_prompt ("yn", file_name, | ^ textfile.c:5234:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5234 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5265:17: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5265 | status_file ("Opening to write ", file_name); | ^ textfile.c:5290:19: warning: passing arguments to 'getbasename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5290 | bn = getbasename (dir_name); | ^ textfile.c:5306:65: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5306 | error2 ("Trying to enable directory access after: ", serrorof (open_errno)); | ^ textfile.c:5306:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5306 | error2 ("Trying to enable directory access after: ", serrorof (open_errno)); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5311:41: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5311 | error2 ("Failed (cd ...): ", dec_out (sysres)); | ^ textfile.c:5311:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5311 | error2 ("Failed (cd ...): ", dec_out (sysres)); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5323:74: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5323 | status_fmt ("File not accessible (retry or Save As...): ", serrorof (open_errno)); | ^ textfile.c:5323:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5323 | status_fmt ("File not accessible (retry or Save As...): ", serrorof (open_errno)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5325:72: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5325 | status_fmt ("File not writable (retry or Save As...): ", serrorof (open_errno)); | ^ textfile.c:5325:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5325 | status_fmt ("File not writable (retry or Save As...): ", serrorof (open_errno)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5328:71: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5328 | status_fmt ("Cannot create or write (try Save As...): ", serrorof (open_errno)); | ^ textfile.c:5328:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5328 | status_fmt ("Cannot create or write (try Save As...): ", serrorof (open_errno)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5347:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5347 | error2 ("Cannot create filter pipe: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5351:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5351 | raw_mode (False); | ^ textfile.c:5353:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5353 | set_cursor (0, YMAX); | ^ textfile.c:5356:8: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] 5356 | pid = fork (); | ^ textfile.c:19:14: note: expanded from macro 'fork' 19 | #define fork vfork | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/unistd.h:608:1: note: 'vfork' has been explicitly marked deprecated here 608 | __deprecated_msg("Use posix_spawn or fork") | ^ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg' 218 | #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) | ^ textfile.c:5358:12: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5358 | raw_mode (True); | ^ textfile.c:5359:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5359 | error2 ("Cannot fork filter: ", serror ()); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:5412:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5412 | raw_mode (True); | ^ textfile.c:5413:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5413 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5418:49: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5418 | status_fmt ("Filter wait error: ", serrorof (waiterr)); | ^ textfile.c:5418:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5418 | status_fmt ("Filter wait error: ", serrorof (waiterr)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5421:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5421 | status_fmt2 (filter_write, ": Failed to start filter"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5424:44: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5424 | status_fmt ("Filter dumped: ", dec_out (status & 0x7F)); | ^ textfile.c:5424:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5424 | status_fmt ("Filter dumped: ", dec_out (status & 0x7F)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5427:45: warning: passing arguments to 'dec_out' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5427 | status_fmt ("Filter aborted: ", dec_out (status & 0x7F)); | ^ textfile.c:5427:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5427 | status_fmt ("Filter aborted: ", dec_out (status & 0x7F)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5430:44: warning: passing arguments to 'serrorof' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5430 | status_fmt ("Filter error: ", serrorof (status >> 8)); | ^ textfile.c:5430:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5430 | status_fmt ("Filter error: ", serrorof (status >> 8)); | ^ ./mined.h:1161:21: note: expanded from macro 'status_fmt' 1161 | (void) bottom_line (SAME, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5436:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5436 | status_file ("Writing ", file_name); | ^ textfile.c:5438:14: warning: passing arguments to 'status_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5438 | status_file ("Written ", file_name); | ^ textfile.c:5463:3: warning: passing arguments to 'file_status' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5463 | fstatus ("Wrote", bytes_written, chars_written); | ^ ./mined.h:1179:14: note: expanded from macro 'fstatus' 1179 | file_status ((mess), (bytes), (chars), file_name, total_lines, True, writable, modified, viewonly) | ^ textfile.c:5116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5116 | write_text_pos (force_write, force_savepos, keep_screenmode) | ^ textfile.c:5487:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5487 | raw_mode (True); | ^ textfile.c:5497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5497 | save_text_load_file (fn) | ^ In file included from textfile.c:31: ./textfile.h:30: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] 30 | extern int save_text_load_file _((char * filename)); | ^ textfile.c:5549:22: warning: passing arguments to 'status2_prompt' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5549 | c = status2_prompt (do_recover ? "ynr" : "yn", | ^ textfile.c:5556:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5556 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5543 | ask_save_recover_keepscreenmode (do_recover, keep_screenmode) | ^ textfile.c:5613:20: warning: passing arguments to 'get_filename' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5613 | if (get_filename (prompt, new_file, False) == ERRORS) { | ^ textfile.c:5602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5602 | edit_file (prompt, vomode) | ^ textfile.c:5631:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5631 | error ("No recovery file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5638:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5638 | status_fmt2 ("", "Aborted file recovery"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5647:21: warning: passing arguments to 'delete_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5647 | (void) delete_file (rn); | ^ textfile.c:5690:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5690 | status_fmt2 ("", "File is still view-only because it is locked; Unlock from File menu"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5693:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5693 | status_fmt2 ("", "File is still view-only after read error"); | ^ ./mined.h:1159:21: note: expanded from macro 'status_fmt2' 1159 | (void) bottom_line (VALID, str1, str2, NIL_PTR, False, ""); | ^ textfile.c:5708:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5708 | error ("Cannot view only - already modified"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5743:14: warning: passing arguments to 'copy_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5743 | copy_string (save_file_name, file_name); | ^ textfile.c:5757:14: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5757 | search_for (searchstring, FORWARD, True); | ^ textfile.c:5723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5723 | view_help (helpfile, item) | ^ In file included from textfile.c:31: ./textfile.h:26: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] 26 | extern void view_help _((char * helpfile, char * item)); | ^ textfile.c:5793:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5793 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:5794:14: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5794 | set_cursor (0, YMAX); | ^ textfile.c:5795:3: warning: passing arguments to '__putchar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5795 | putchar ('\n'); /* purpose unclear, causes visual distraction */ | ^ ./mined.h:876:30: note: expanded from macro 'putchar' 876 | #define putchar(c) __putchar ((character) c) | ^ textfile.c:5806:11: warning: passing arguments to 'raw_mode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5806 | raw_mode (False); | ^ textfile.c:5807:13: warning: passing arguments to 'set_cursor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5807 | set_cursor (0, YMAX); | ^ textfile.c:5811:12: warning: passing arguments to 'debuglog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5811 | debuglog (0, 0, "close"); | ^ textfile.c:5849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5849 | filelist_get (i) | ^ In file included from textfile.c:31: ./textfile.h:32: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 subsequent definition [-Wdeprecated-non-prototype] 32 | extern char * filelist_get _((int i)); | ^ textfile.c:5869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5869 | filelist_set_coord (line, left, right) | ^ In file included from textfile.c:31: ./textfile.h:33: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] 33 | extern void filelist_set_coord _((short line, int left, int right)); | ^ textfile.c:5885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5885 | filelist_search (line, col) | ^ In file included from textfile.c:31: ./textfile.h:34: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 subsequent definition [-Wdeprecated-non-prototype] 34 | extern char * filelist_search _((short line, int col)); | ^ textfile.c:5924:18: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5924 | * flpoi = alloc (sizeof (struct fileentry)); | ^ textfile.c:5905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5905 | filelist_append (flpoi, fn, allowdups, versionbase, prevfl) | ^ textfile.c:5939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5939 | filelist_delete_next (flpoi, fn) | ^ textfile.c:5965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5965 | filelist_next (fl, fn) | ^ textfile.c:5987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5987 | filelist_prev (fl, fn) | ^ textfile.c:6033:23: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6033 | afterver = scan_int (suffix, & ver); | ^ textfile.c:6008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6008 | backup_suffix (fn) | ^ textfile.c:6048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6048 | filelist_add (fn, allowdups) | ^ In file included from textfile.c:31: ./textfile.h:31: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] 31 | extern void filelist_add _((char * fn, FLAG allowdups)); | ^ textfile.c:6078:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6078 | error ("No files opened"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6083:20: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6083 | filemenu = alloc (filelist_count () * sizeof (menuitemtype)); | ^ textfile.c:6085:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6085 | error ("Cannot allocate memory for file menu"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6090:16: warning: passing arguments to 'fill_menuitem' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6090 | fill_menuitem (& filemenu [fi ++], fl->fn, NIL_PTR); | ^ textfile.c:6094:19: warning: passing arguments to 'popup_menu' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6094 | fi = popup_menu (filemenu, filelist_count (), 0, 4, "Switch to file", True, False, "*"); | ^ textfile.c:6171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6171 | edit_this_file (fn) | ^ textfile.c:6203:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6203 | error ("Already at last file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6220:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6220 | error ("Already at first file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6233:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6233 | error ("No such file"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6225 | edit_nth_file (n) | ^ In file included from textfile.c:31: ./textfile.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 edit_nth_file _((int)); | ^ textfile.c:6297:3: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6297 | error2 ("Identifier not found in tags file: ", idf); | ^ ./mined.h:1167:21: note: expanded from macro 'error2' 1167 | (void) bottom_line (True, (str1), (str2), NIL_PTR, False, "") | ^ textfile.c:6303:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6303 | error ("No tags file present; apply the ctags command to your source files"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6244 | get_tagline (idf, filename, search) | ^ textfile.c:6320:6: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6320 | if (get_string ("Enter identifier (to locate definition):", idf_buf, True, "") != FINE) { | ^ ./mined.h:1171:14: note: expanded from macro 'get_string' 1171 | bottom_line (True, (str1), NIL_PTR, (str2), fl, term_chars) | ^ textfile.c:6355:4: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6355 | error ("No include file name"); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6360:14: warning: passing arguments to 'get_idf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6360 | if (get_idf (idf_buf, cur_text, cur_line->text) == ERRORS) { | ^ textfile.c:6387:18: warning: passing arguments to 'scan_int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6387 | (void) scan_int (search, & lineno); | ^ textfile.c:6401:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6401 | clear_status (); | ^ ./mined.h:1169:21: note: expanded from macro 'clear_status' 1169 | (void) bottom_line (False, NIL_PTR, NIL_PTR, NIL_PTR, False, "") | ^ textfile.c:6402:17: warning: passing arguments to 'find_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6402 | move_y (find_y (line)); | ^ textfile.c:6402:9: warning: passing arguments to 'move_y' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6402 | move_y (find_y (line)); | ^ textfile.c:6404:13: warning: passing arguments to 'search_for' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6404 | search_for (search, FORWARD, False); | ^ textfile.c:6430:23: warning: passing arguments to 'systemcall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6430 | sysres = systemcall (NIL_PTR, syscommand, 1); | ^ textfile.c:6433:2: warning: passing arguments to 'bottom_line' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6433 | error (err); | ^ ./mined.h:1165:21: note: expanded from macro 'error' 1165 | (void) bottom_line (True, (str1), NIL_PTR, NIL_PTR, False, "") | ^ 402 warnings and 1 error generated. gmake[1]: *** [mkinclud.mak:555: ../bin/Darwin.arm64/textfile.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-big5.c -o ../bin/Darwin.arm64/charmaps/cjk-big5.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-cns.c -o ../bin/Darwin.arm64/charmaps/cjk-cns.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-ejp.c -o ../bin/Darwin.arm64/charmaps/cjk-ejp.o 467 warnings generated. mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-ejx.c -o ../bin/Darwin.arm64/charmaps/cjk-ejx.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-gb.c -o ../bin/Darwin.arm64/charmaps/cjk-gb.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-johb.c -o ../bin/Darwin.arm64/charmaps/cjk-johb.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-sjcp.c -o ../bin/Darwin.arm64/charmaps/cjk-sjcp.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-sjx.c -o ../bin/Darwin.arm64/charmaps/cjk-sjx.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cjk-uhc.c -o ../bin/Darwin.arm64/charmaps/cjk-uhc.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1047.c -o ../bin/Darwin.arm64/charmaps/cp1047.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1125.c -o ../bin/Darwin.arm64/charmaps/cp1125.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1131.c -o ../bin/Darwin.arm64/charmaps/cp1131.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1250.c -o ../bin/Darwin.arm64/charmaps/cp1250.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1251.c -o ../bin/Darwin.arm64/charmaps/cp1251.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1252.c -o ../bin/Darwin.arm64/charmaps/cp1252.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1253.c -o ../bin/Darwin.arm64/charmaps/cp1253.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1254.c -o ../bin/Darwin.arm64/charmaps/cp1254.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1255.c -o ../bin/Darwin.arm64/charmaps/cp1255.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1256.c -o ../bin/Darwin.arm64/charmaps/cp1256.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp437.c -o ../bin/Darwin.arm64/charmaps/cp437.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1258.c -o ../bin/Darwin.arm64/charmaps/cp1258.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp1257.c -o ../bin/Darwin.arm64/charmaps/cp1257.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp737.c -o ../bin/Darwin.arm64/charmaps/cp737.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp720.c -o ../bin/Darwin.arm64/charmaps/cp720.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp775.c -o ../bin/Darwin.arm64/charmaps/cp775.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp853.c -o ../bin/Darwin.arm64/charmaps/cp853.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp852.c -o ../bin/Darwin.arm64/charmaps/cp852.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp850.c -o ../bin/Darwin.arm64/charmaps/cp850.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp855.c -o ../bin/Darwin.arm64/charmaps/cp855.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp857.c -o ../bin/Darwin.arm64/charmaps/cp857.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp858.c -o ../bin/Darwin.arm64/charmaps/cp858.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp860.c -o ../bin/Darwin.arm64/charmaps/cp860.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp862.c -o ../bin/Darwin.arm64/charmaps/cp862.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp861.c -o ../bin/Darwin.arm64/charmaps/cp861.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp865.c -o ../bin/Darwin.arm64/charmaps/cp865.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp864e.c -o ../bin/Darwin.arm64/charmaps/cp864e.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp863.c -o ../bin/Darwin.arm64/charmaps/cp863.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp869.c -o ../bin/Darwin.arm64/charmaps/cp869.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cp866.c -o ../bin/Darwin.arm64/charmaps/cp866.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/cygwin.c -o ../bin/Darwin.arm64/charmaps/cygwin.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/iso-6937.c -o ../bin/Darwin.arm64/charmaps/iso-6937.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/isoarab.c -o ../bin/Darwin.arm64/charmaps/isoarab.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/georg-ps.c -o ../bin/Darwin.arm64/charmaps/georg-ps.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/isohebr.c -o ../bin/Darwin.arm64/charmaps/isohebr.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/isogreek.c -o ../bin/Darwin.arm64/charmaps/isogreek.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/isocyril.c -o ../bin/Darwin.arm64/charmaps/isocyril.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/koi8-r.c -o ../bin/Darwin.arm64/charmaps/koi8-r.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/koi8-ru.c -o ../bin/Darwin.arm64/charmaps/koi8-ru.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/koi8-t.c -o ../bin/Darwin.arm64/charmaps/koi8-t.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/koi8-u.c -o ../bin/Darwin.arm64/charmaps/koi8-u.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-10.c -o ../bin/Darwin.arm64/charmaps/latin-10.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-2.c -o ../bin/Darwin.arm64/charmaps/latin-2.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-4.c -o ../bin/Darwin.arm64/charmaps/latin-4.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-5.c -o ../bin/Darwin.arm64/charmaps/latin-5.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-3.c -o ../bin/Darwin.arm64/charmaps/latin-3.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-6.c -o ../bin/Darwin.arm64/charmaps/latin-6.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-8.c -o ../bin/Darwin.arm64/charmaps/latin-8.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-7.c -o ../bin/Darwin.arm64/charmaps/latin-7.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/latin-9.c -o ../bin/Darwin.arm64/charmaps/latin-9.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/m-roman.c -o ../bin/Darwin.arm64/charmaps/m-roman.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/pt154.c -o ../bin/Darwin.arm64/charmaps/pt154.o mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/tcvn.c -o ../bin/Darwin.arm64/charmaps/tcvn.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/tis620.c -o ../bin/Darwin.arm64/charmaps/tis620.o gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/vga.c -o ../bin/Darwin.arm64/charmaps/vga.o mkdir -p ../bin/Darwin.arm64/charmaps gcc -pipe -Os -I/opt/pkg/include/ncurses -I. -c charmaps/viscii.c -o ../bin/Darwin.arm64/charmaps/viscii.o gmake[2]: Leaving directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' gmake[1]: Leaving directory '/var/tmp/work/editors/mined/work/mined-2022.27/src' gmake: *** [makefile:9: mined] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/mined *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/editors/mined