=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for depot-5.14 # All started at Tue May 7 04:31:27 UTC 2024 ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/man ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/man ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib mkdir objdir mkdir build-include mkdir build-lib ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/include /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c depotlib.h ../build-include/depotlib.h /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c depot_autoconf.h ../build-include/depot_autoconf.h /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c cmu-copyright.h ../build-include/cmu-copyright.h ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/include ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/util clang -O -DHAVE_CONFIG_H -I../build-include/ -c file.c In file included from file.c:36: ./util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ file.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] efopen(filename, type) ^ In file included from file.c:36: ./util.h:60:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern FILE *efopen(); ^ file.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] efdopen(fd, type) ^ In file included from file.c:36: ./util.h:61:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern FILE *efdopen(); ^ file.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] efgetunsigned(fp) ^ In file included from file.c:36: ./util.h:62:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern unsigned efgetunsigned(); ^ file.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] efgetlong(fp) ^ In file included from file.c:36: ./util.h:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern long efgetlong(); ^ file.c:180:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer = (char *) emalloc(buffersize * sizeof(char)); ^ file.c:198:30: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer = (char *) erealloc((void *) buffer, ^ file.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] efgetstring(fp, quotechar) ^ In file included from file.c:36: ./util.h:64:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] char *efgetstring(); ^ file.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fdgetc(fd, pos) ^ In file included from file.c:36: ./util.h:65:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int fdgetc(); ^ file.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] quotedfputs(string, quotechar, fp) ^ In file included from file.c:36: ./util.h:66:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int quotedfputs(); ^ 17 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c malloc.c In file included from malloc.c:36: ./util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ malloc.c:40:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void *emalloc(size) ^ In file included from malloc.c:36: ./util.h:73:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void *emalloc(); ^ malloc.c:57:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void *ecalloc(nelem, size) ^ In file included from malloc.c:36: ./util.h:74:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void *ecalloc(); ^ malloc.c:74:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void *erealloc(ptr, size) ^ In file included from malloc.c:36: ./util.h:75:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void *erealloc(); ^ 7 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c math.c In file included from math.c:38: ./util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ math.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] long StringToNumber(string, base) ^ In file included from math.c:38: ./util.h:78:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern long StringToNumber(); ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c message.c In file included from message.c:38: ./util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ 1 warning generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c passwd.c In file included from passwd.c:38: ./util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ passwd.c:57:28: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (String_Comparator(name, "root") == 0) ^ passwd.c:43:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int UserIDFromName(name) ^ In file included from passwd.c:38: ./util.h:88:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int UserIDFromName(); ^ passwd.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int GroupIDFromName(name) ^ In file included from passwd.c:38: ./util.h:89:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int GroupIDFromName(); ^ 6 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c string.c In file included from string.c:36: ./util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ string.c:65:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newstr = (char *) emalloc((len + 1) * sizeof(char *)); ^ string.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String(str, len) ^ In file included from string.c:36: ./util.h:92:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *String(); ^ string.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free(str) ^ In file included from string.c:36: ./util.h:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void String_Free(); ^ string.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Comparator(str1, str2) ^ In file included from string.c:36: ./util.h:94:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int String_Comparator(); ^ string.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_RemoveQuotes(string, quotechar) ^ In file included from string.c:36: ./util.h:95:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *String_RemoveQuotes(); ^ string.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Write(fp, string, quotechar, delim, specialcharlist, nspecialchars) ^ In file included from string.c:36: ./util.h:96:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void String_Write(); ^ string.c:206:40: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newstrarr = (STRINGARRAY *) emalloc(sizeof(STRINGARRAY)); ^ string.c:215:19: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (char **) emalloc((len + 1) * sizeof(char *)); ^ string.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray(strarr, len) ^ In file included from string.c:36: ./util.h:97:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern STRINGARRAY *StringArray(); ^ string.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Free(strarr) ^ In file included from string.c:36: ./util.h:98:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void StringArray_Free(); ^ string.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Size(strarr) ^ In file included from string.c:36: ./util.h:99:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int StringArray_Size(); ^ string.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Comparator(strarr1, strarr2) ^ In file included from string.c:36: ./util.h:100:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int StringArray_Comparator(); ^ string.c:357:42: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newstrarr = (STRINGARRAY *) emalloc(sizeof(STRINGARRAY)); ^ string.c:368:56: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] STRINGARRAY_Values(newstrarr) = (char **) emalloc(sizeof(char *)); ^ string.c:377:25: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (char **) erealloc((void *) (STRINGARRAY_Values(newstrarr)), ^ string.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_AppendString(strarr, str) ^ In file included from string.c:36: ./util.h:101:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern STRINGARRAY *StringArray_AppendString(); ^ string.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Write(fp, strarr, quotechar, delim, specialcharlist, nspecialchars) ^ In file included from string.c:36: ./util.h:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void StringArray_Write(); ^ string.c:443:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer = (char *) emalloc(strlen(string) + 1); /* worst case size */ ^ string.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringToStringArray(string, delimiter, quotechar) ^ In file included from string.c:36: ./util.h:103:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern STRINGARRAY *StringToStringArray(); ^ string.c:506:40: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newstrset = (STRINGSET *) emalloc(sizeof(STRINGSET)); ^ string.c:518:54: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] STRINGSET_Values(newstrset) = (char **) emalloc(sizeof(char *)); ^ string.c:569:20: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (char **) erealloc((void *) (STRINGSET_Values(newstrset)), ^ string.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringSet_AddString(strset, str) ^ In file included from string.c:36: ./util.h:104:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern STRINGSET *StringSet_AddString(); ^ string.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringSet_Member(strset, str) ^ In file included from string.c:36: ./util.h:105:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Boolean StringSet_Member(); ^ string.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringSet_Index(strset, str) ^ In file included from string.c:36: ./util.h:106:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int StringSet_Index(); ^ string.c:733:36: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] strset1 = (STRINGSET *) emalloc(sizeof(STRINGSET)); ^ string.c:736:52: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] STRINGSET_Values(strset1) = (char **) emalloc(sizeof(char *)); ^ string.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringSet_Merge(strset1, strset2) ^ In file included from string.c:36: ./util.h:107:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern STRINGSET *StringSet_Merge(); ^ 45 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c misc.c In file included from misc.c:36: ./util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ 1 warning generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Error.c In file included from Error.c:36: ./util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ 1 warning generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c timer.c clang -O -DHAVE_CONFIG_H -I../build-include/ -c compress.c In file included from compress.c:29: ./util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ compress.c:37:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *getenv(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/stdlib.h:147:7: note: conflicting prototype is here char *getenv(const char *); ^ compress.c:51:27: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] av = StringToStringArray(str,' ', 0); ^ compress.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] process_string(name) ^ 4 warnings generated. rm -f libutil.a ar rv libutil.a file.o malloc.o math.o message.o passwd.o string.o misc.o Error.o timer.o compress.o ar: creating archive libutil.a a - file.o a - malloc.o a - math.o a - message.o a - passwd.o a - string.o a - misc.o a - Error.o a - timer.o a - compress.o ranlib libutil.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c libutil.a ../build-lib//libutil.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c util.h ../build-include//util.h /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c Error.h ../build-include//DepotErrorCodes.h ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/util ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/FileOps clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_Copy.c In file included from File_Copy.c:6: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_Copy.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cp(src, dst) ^ File_Copy.c:86:25: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_GetStatus(from, status, FALSE /* !followlinks */ ) < 0) { ^ File_Copy.c:93:25: warning: passing arguments to 'File_SetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_SetStatus(temp, status, flags) < 0) { ^ File_Copy.c:100:18: warning: passing arguments to 'File_Move' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_Move(temp, to) < 0) { ^ File_Copy.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] File_Copy(from, to, status, flags) ^ In file included from File_Copy.c:8: ./File.h:72:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_Copy(); ^ 7 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_CreateDirectory.c In file included from File_CreateDirectory.c:37: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_CreateDirectory.c:55:25: warning: passing arguments to 'File_SetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_SetStatus(path, status, flags) < 0) ^ File_CreateDirectory.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int File_CreateDirectory (path, status, flags) ^ In file included from File_CreateDirectory.c:39: ./File.h:73:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_CreateDirectory (); ^ 4 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_CreateLink.c In file included from File_CreateLink.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_CreateLink.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int File_CreateLink(name1, name2) ^ In file included from File_CreateLink.c:38: ./File.h:74:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_CreateLink(); ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_CreateSymLink.c In file included from File_CreateSymLink.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_CreateSymLink.c:57:26: warning: passing arguments to 'File_RemovePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_RemovePath(newname, NULL) < 0) { ^ File_CreateSymLink.c:71:16: warning: passing arguments to 'File_Move' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_Move(newname, name2) < 0) { ^ File_CreateSymLink.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] File_CreateSymLink(name1, name2) ^ In file included from File_CreateSymLink.c:38: ./File.h:75:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_CreateSymLink(); ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_GetStatus.c In file included from File_GetStatus.c:37: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_GetStatus.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] File_GetStatus(path, status, followlinks) ^ In file included from File_GetStatus.c:39: ./File.h:76:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_GetStatus(); ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_Move.c In file included from File_Move.c:35: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_Move.c:46:27: warning: passing arguments to '_genbusy_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] busyname = _genbusy_name(name2); ^ File_Move.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_busy(name1, name2) ^ File_Move.c:84:26: warning: passing arguments to 'File_RemovePath' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_RemovePath(name2, NULL) < 0) { ^ File_Move.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] File_Move(name1, name2) ^ In file included from File_Move.c:37: ./File.h:79:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_Move(); ^ 6 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_ReadSymLink.c In file included from File_ReadSymLink.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_ReadSymLink.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int File_ReadSymLink(path, buffer, size) ^ In file included from File_ReadSymLink.c:38: ./File.h:80:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_ReadSymLink(); ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_ListDirectory.c In file included from File_ListDirectory.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_ListDirectory.c:67:36: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *filelistp = StringSet_AddString(*filelistp, de->d_name); ^ File_ListDirectory.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int File_ListDirectory(path, filelistp) ^ In file included from File_ListDirectory.c:38: ./File.h:77:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_ListDirectory(); ^ 4 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_ListMatchesinDirectory.c In file included from File_ListMatchesinDirectory.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_ListMatchesinDirectory.c:72:40: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *filelistp = StringSet_AddString(*filelistp, de->d_name); ^ File_ListMatchesinDirectory.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int File_ListMatchesinDirectory(path, matchprefix, filelistp) ^ In file included from File_ListMatchesinDirectory.c:38: ./File.h:78:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_ListMatchesinDirectory(); ^ 4 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_RemoveDirectory.c In file included from File_RemoveDirectory.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_RemoveDirectory.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int File_RemoveDirectory(path) ^ In file included from File_RemoveDirectory.c:38: ./File.h:81:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_RemoveDirectory(); ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_RemovePath.c In file included from File_RemovePath.c:34: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_RemovePath.c:50:23: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_GetStatus(path, status, FALSE /* !followlinks */) < 0) { ^ File_RemovePath.c:63:26: warning: passing arguments to '_genbusy_name' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] busyname = _genbusy_name(path); ^ File_RemovePath.c:39:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int File_RemovePath(path, status) ^ In file included from File_RemovePath.c:36: ./File.h:82:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_RemovePath(); ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_SetStatus.c In file included from File_SetStatus.c:37: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_SetStatus.c:76:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] File_GetStatus(path, &statusbuffer, FALSE /* followlinks */ ); ^ File_SetStatus.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] File_SetStatus(path, status, flags) ^ In file included from File_SetStatus.c:39: ./File.h:83:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_SetStatus(); ^ 4 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_Busy.c In file included from File_Busy.c:34: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_Busy.c:62:40: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] (void)sprintf(buf,"%s.%d", old_name, time(NULL)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ %ld /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ File_Busy.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _genbusy_name(old_name) ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c File_Filter.c In file included from File_Filter.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ File_Filter.c:40:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int run_filter(from, to, filter) ^ File_Filter.c:85:12: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] argv = Sentence(filter, SENTENCE_Size(filter)); ^ ../build-include/util.h:110:52: note: expanded from macro 'Sentence' #define Sentence(set, len) ((SENTENCE *)StringArray(set, len)) ^ File_Filter.c:89:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (String_Comparator(SENTENCE_String(argv, lupe), "%to"))) ^ File_Filter.c:91:14: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free(SENTENCE_String(argv, lupe)); ^ File_Filter.c:93:37: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] } else if (! (String_Comparator(SENTENCE_String(argv, lupe), ^ File_Filter.c:96:18: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free(SENTENCE_String(argv, lupe)); ^ File_Filter.c:122:18: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] switch(pid = vfork()) { ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ File_Filter.c:135:24: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] if (waitpid(pid, &pidstatus, 0) == -1) ^~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:249:29: note: passing argument to parameter here pid_t waitpid(pid_t, int *, int) __DARWIN_ALIAS_C(waitpid); ^ File_Filter.c:151:24: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_GetStatus(from, status, FALSE /* !followlinks */ ) < 0) { ^ File_Filter.c:158:24: warning: passing arguments to 'File_SetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_SetStatus(newname, status, flags) < 0) { ^ File_Filter.c:165:18: warning: passing arguments to 'File_Move' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_Move(newname, to) < 0) { ^ File_Filter.c:177:18: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Sentence_Free(argv); ^ File_Filter.c:67:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int File_Filter(from, to, status, flags, filter) ^ In file included from File_Filter.c:38: ./File.h:84:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int File_Filter(); ^ 15 warnings generated. rm -f libfile.a ar rv libfile.a File_Copy.o File_CreateDirectory.o File_CreateLink.o File_CreateSymLink.o File_GetStatus.o File_Move.o File_ReadSymLink.o File_ListDirectory.o File_ListMatchesinDirectory.o File_RemoveDirectory.o File_RemovePath.o File_SetStatus.o File_Busy.o File_Filter.o ar: creating archive libfile.a a - File_Copy.o a - File_CreateDirectory.o a - File_CreateLink.o a - File_CreateSymLink.o a - File_GetStatus.o a - File_Move.o a - File_ReadSymLink.o a - File_ListDirectory.o a - File_ListMatchesinDirectory.o a - File_RemoveDirectory.o a - File_RemovePath.o a - File_SetStatus.o a - File_Busy.o a - File_Filter.o ranlib libfile.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c libfile.a ../build-lib//libfile.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c File.h ../build-include//File.h ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/FileOps ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Lock clang -O -DHAVE_CONFIG_H -I../build-include/ -c Lock.c In file included from Lock.c:55: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ Lock.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Lock_QueryLock(LockFile) ^ In file included from Lock.c:57: ./Lock.h:41:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * Lock_QueryLock(); ^ Lock.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Lock_SetLock(LockFile) ^ In file included from Lock.c:57: ./Lock.h:42:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * Lock_SetLock(); ^ Lock.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Lock_RemoveLock(LockFile) ^ In file included from Lock.c:57: ./Lock.h:44:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void Lock_RemoveLock(); ^ Lock.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Lock_UnsetLock(LockFile) ^ In file included from Lock.c:57: ./Lock.h:43:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char * Lock_UnsetLock(); ^ Lock.c:186:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_GetStatus(LockFile, &fs, 0) < 0) { ^ Lock.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Lock_TestLock(LockFile) ^ 11 warnings generated. rm -f liblock.a ar rv liblock.a Lock.o ar: creating archive liblock.a a - Lock.o ranlib liblock.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c liblock.a ../build-lib//liblock.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c Lock.h ../build-include//Lock.h ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Lock ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/FileSystemUtil clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystem_Initialize.c In file included from FileSystem_Initialize.c:37: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ 1 warning generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystem_GetFSInfo.c In file included from FileSystem_GetFSInfo.c:37: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ FileSystem_GetFSInfo.c:42:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int FileSystem_GetFSInfo(path, buffer, modtimep) ^ In file included from FileSystem_GetFSInfo.c:39: ./FileSystem.h:39:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int FileSystem_GetFSInfo(); ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystem_End.c In file included from FileSystem_End.c:37: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ 1 warning generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c AndrewFileSystem.c if [ -z "" ]; then clang -O -DHAVE_CONFIG_H -I../build-include/ -o LibAFS.o -c null.c ; else ld -r -o LibAFS.o AndrewFileSystem.o ; fi rm -f libfilesystemutil.a ar rv libfilesystemutil.a FileSystem_Initialize.o FileSystem_GetFSInfo.o FileSystem_End.o LibAFS.o ar: creating archive libfilesystemutil.a a - FileSystem_Initialize.o a - FileSystem_GetFSInfo.o a - FileSystem_End.o a - LibAFS.o ranlib libfilesystemutil.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c libfilesystemutil.a ../build-lib//libfilesystemutil.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c FileSystem.h ../build-include//FileSystem.h ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/FileSystemUtil ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/FileSystemImage clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystemImage_Read.c In file included from FileSystemImage_Read.c:39: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ FileSystemImage_Read.c:66:39: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] node = (FILESYSTEMIMAGE *) emalloc(sizeof(FILESYSTEMIMAGE)); ^ FileSystemImage_Read.c:89:23: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buf = (char *)emalloc(strlen(stringbegin) +1); ^ FileSystemImage_Read.c:103:37: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILESYSTEMIMAGE_Name(node) = String(stringbegin, ^ FileSystemImage_Read.c:156:39: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILESYSTEMIMAGE_Link(node) = String(scan, strlen(scan)); ^ FileSystemImage_Read.c:159:44: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILESYSTEMIMAGE_FSMountID(node) = String(scan, strlen(scan)); ^ FileSystemImage_Read.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileSystemImage_TreeRead(pptr, cnt) ^ FileSystemImage_Read.c:202:21: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_GetStatus(fname, &stbuf, FALSE) < 0) { ^ FileSystemImage_Read.c:218:19: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fbuf = emalloc((size = FILESTAT_Size(&stbuf)) + 1); ^ FileSystemImage_Read.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileSystemImage_Read(fname) ^ In file included from FileSystemImage_Read.c:42: ./FileSystemImage.h:95:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern FILESYSTEMIMAGE *FileSystemImage_Read( /* char *filename */ ); ^ 11 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystemImage_Build.c In file included from FileSystemImage_Build.c:39: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ FileSystemImage_Build.c:71:45: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fsimagenodep = (FILESYSTEMIMAGE *) emalloc(sizeof(FILESYSTEMIMAGE)); ^ FileSystemImage_Build.c:80:48: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILESYSTEMIMAGE_Name(fsimagenodep) = String(nodename, strlen(nodename)); ^ FileSystemImage_Build.c:92:11: warning: call to undeclared function 'FileSystem_GetFSInfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (FileSystem_GetFSInfo(path, linkbuf, &fsmodtime) < 0) { ^ FileSystemImage_Build.c:98:50: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILESYSTEMIMAGE_FSMountID(fsimagenodep) = String(linkbuf, ^ FileSystemImage_Build.c:107:27: warning: passing arguments to 'File_ReadSymLink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (File_ReadSymLink(path, linkbuf, MAXPATHLEN) < 0) { ^ FileSystemImage_Build.c:111:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILESYSTEMIMAGE_Link(fsimagenodep) = String(linkbuf, ^ FileSystemImage_Build.c:118:45: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILESYSTEMIMAGE_Link(fsimagenodep) = String(hardlinkname, ^ FileSystemImage_Build.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileSystemImageNodeFromFileStatus(filestatus, path, nodename, ^ FileSystemImage_Build.c:55:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static FILESYSTEMIMAGE *FileSystemImageNodeFromFileStatus(); ^ FileSystemImage_Build.c:157:26: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) File_GetStatus(path, ^ FileSystemImage_Build.c:164:40: warning: passing arguments to 'LinkTable_LocateLink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hardlinkname = LinkTable_LocateLink(linktablep, ^ FileSystemImage_Build.c:178:30: warning: passing arguments to 'File_ListDirectory' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) File_ListDirectory(path, &childliststringset); ^ FileSystemImage_Build.c:228:16: warning: passing arguments to 'LinkTable_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LinkTable_Free(childlinktable); ^ FileSystemImage_Build.c:231:23: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Free(childliststringset); ^ FileSystemImage_Build.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileSystemImage_TreeBuild(path, nodename, fsid, linktablep) ^ FileSystemImage_Build.c:56:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static FILESYSTEMIMAGE *FileSystemImage_TreeBuild(); ^ FileSystemImage_Build.c:261:10: warning: call to undeclared function 'FileSystem_Initialize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) FileSystem_Initialize(); ^ FileSystemImage_Build.c:265:26: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) File_GetStatus(path, ^ FileSystemImage_Build.c:293:51: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FILESYSTEMIMAGE_FSMountID(fsimagep) = String("generic", ^ FileSystemImage_Build.c:299:30: warning: passing arguments to 'File_ListDirectory' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) File_ListDirectory(path, &childliststringset); ^ FileSystemImage_Build.c:343:16: warning: passing arguments to 'LinkTable_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LinkTable_Free(childlinktable); ^ FileSystemImage_Build.c:346:23: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Free(childliststringset); ^ FileSystemImage_Build.c:348:10: warning: call to undeclared function 'FileSystem_End'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) FileSystem_End(); ^ FileSystemImage_Build.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileSystemImage_Build(path) ^ In file included from FileSystemImage_Build.c:42: ./FileSystemImage.h:96:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern FILESYSTEMIMAGE *FileSystemImage_Build( /* char *filename */ ); ^ FileSystemImage_Build.c:376:31: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lp = (LINKTABLE *) emalloc(sizeof(LINKTABLE)); ^ FileSystemImage_Build.c:379:28: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] lp->nodename = String(nodename, strlen(nodename)); ^ FileSystemImage_Build.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LinkTable_LocateLink(linktablep, inode, nodename) ^ FileSystemImage_Build.c:52:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char *LinkTable_LocateLink(); ^ FileSystemImage_Build.c:400:16: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free(lp1->nodename); ^ FileSystemImage_Build.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LinkTable_Free(linktable) ^ FileSystemImage_Build.c:53:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void LinkTable_Free(); ^ 33 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystemImage_Write.c In file included from FileSystemImage_Write.c:39: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ FileSystemImage_Write.c:54:24: warning: passing arguments to 'quotedfputs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)quotedfputs(FILESYSTEMIMAGE_Name(node), ' ', out); ^ FileSystemImage_Write.c:78:23: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] fprintf(out, "%d", FILESYSTEMIMAGE_DTime(node)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld ./FileSystemImage.h:56:35: note: expanded from macro 'FILESYSTEMIMAGE_DTime' #define FILESYSTEMIMAGE_DTime(fp) ((fp)->dtime) ^~~~~~~~~~~~~ FileSystemImage_Write.c:84:21: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] fprintf(out, "%d ",FILESYSTEMIMAGE_Size(node)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ %zu ./FileSystemImage.h:54:34: note: expanded from macro 'FILESYSTEMIMAGE_Size' #define FILESYSTEMIMAGE_Size(fp) ((fp)->size) ^~~~~~~~~~~~ FileSystemImage_Write.c:86:21: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] fprintf(out, "%d", FILESYSTEMIMAGE_MTime(node)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld ./FileSystemImage.h:55:35: note: expanded from macro 'FILESYSTEMIMAGE_MTime' #define FILESYSTEMIMAGE_MTime(fp) ((fp)->mtime) ^~~~~~~~~~~~~ FileSystemImage_Write.c:101:23: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] fprintf(out, "%d", FILESYSTEMIMAGE_Count(node)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu ./FileSystemImage.h:57:35: note: expanded from macro 'FILESYSTEMIMAGE_Count' #define FILESYSTEMIMAGE_Count(fp) ((fp)->count) ^~~~~~~~~~~~~ FileSystemImage_Write.c:46:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void FileSystemImage_TreeWrite(out, node, level) ^ FileSystemImage_Write.c:116:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int nodecount(node) ^ FileSystemImage_Write.c:133:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FileSystemImage_Write(out, node) ^ In file included from FileSystemImage_Write.c:42: ./FileSystemImage.h:94:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void FileSystemImage_Write( /* FILE *out, FILESYSTEMIMAGE *root */ ); ^ 10 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystemImage_Locate.c In file included from FileSystemImage_Locate.c:38: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ FileSystemImage_Locate.c:71:48: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] targetpathstringarray = StringToStringArray(pathtonode, ^ FileSystemImage_Locate.c:87:51: warning: passing arguments to 'FileSystemImage_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] childnodep = FileSystemImage_LocateChildNode(childnodep, *sp, cname); ^ FileSystemImage_Locate.c:91:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Free(targetpathstringarray); ^ FileSystemImage_Locate.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileSystemImage_LocateNode(fsimagep, pathtonode, cname) ^ In file included from FileSystemImage_Locate.c:41: ./FileSystemImage.h:97:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern FILESYSTEMIMAGE *FileSystemImage_LocateNode(/* FILESYSTEMIMAGE *fsimagep, ^ FileSystemImage_Locate.c:123:28: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (String_Comparator(childname, FILESYSTEMIMAGE_Name(fp)) == 0) { ^ FileSystemImage_Locate.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileSystemImage_LocateChildNode(fsimagep, childname, cname) ^ FileSystemImage_Locate.c:44:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static FILESYSTEMIMAGE *FileSystemImage_LocateChildNode(); ^ 9 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c FileSystemImageUtil.c In file included from FileSystemImageUtil.c:38: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ FileSystemImageUtil.c:60:13: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free(FILESYSTEMIMAGE_Name(ip)); ^ FileSystemImageUtil.c:62:13: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free(FILESYSTEMIMAGE_Link(ip)); ^ FileSystemImageUtil.c:44:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void FileSystemImage_Free(fsimagep) ^ In file included from FileSystemImageUtil.c:41: ./FileSystemImage.h:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void FileSystemImage_Free(); ^ 5 warnings generated. rm -f libfilesystemimage.a ar rv libfilesystemimage.a FileSystemImage_Read.o FileSystemImage_Build.o FileSystemImage_Write.o FileSystemImage_Locate.o FileSystemImageUtil.o ar: creating archive libfilesystemimage.a a - FileSystemImage_Read.o a - FileSystemImage_Build.o a - FileSystemImage_Write.o a - FileSystemImage_Locate.o a - FileSystemImageUtil.o ranlib libfilesystemimage.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c libfilesystemimage.a ../build-lib//libfilesystemimage.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c FileSystemImage.h ../build-include//FileSystemImage.h ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/FileSystemImage ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Hint clang -O -DHAVE_CONFIG_H -I../build-include/ -c Hint_CollectAllHints.c In file included from Hint_CollectAllHints.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ Hint_CollectAllHints.c:52:39: warning: passing arguments to 'Hint_Tree_CollectAllHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintinfo = Hint_Tree_CollectAllHints(hintinfo, fsimage, ""/*pathtonode*/); ^ Hint_CollectAllHints.c:44:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINTDB Hint_CollectAllHints(fsimage) ^ In file included from Hint_CollectAllHints.c:40: ./Hint.h:51:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINTDB Hint_CollectAllHints(); ^ Hint_CollectAllHints.c:90:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] FILESYSTEMIMAGE_FSMountID(fsp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../build-include/FileSystemImage.h:60:39: note: expanded from macro 'FILESYSTEMIMAGE_FSMountID' #define FILESYSTEMIMAGE_FSMountID(fp) ((fp)->link) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ Hint_CollectAllHints.c:90:8: note: treat the string as an argument to avoid this FILESYSTEMIMAGE_FSMountID(fsp)); ^ "%s", ../build-include/FileSystemImage.h:60:39: note: expanded from macro 'FILESYSTEMIMAGE_FSMountID' #define FILESYSTEMIMAGE_FSMountID(fp) ((fp)->link) ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf' __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__) ^ Hint_CollectAllHints.c:92:30: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hp = HintDB_InsertHint(hp, &hint, FALSE/*!OverWrite*/); ^ Hint_CollectAllHints.c:58:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static HINTDB Hint_Tree_CollectAllHints(hintinfo, fsimage, pathtonode) ^ Hint_CollectAllHints.c:42:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static HINTDB Hint_Tree_CollectAllHints(); ^ 8 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Hint_CollectPathHints.c In file included from Hint_CollectPathHints.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ Hint_CollectPathHints.c:99:34: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintinfo = HintDB_InsertHint(hintinfo, &hint, FALSE/*!OverWrite*/); ^ Hint_CollectPathHints.c:43:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINTDB Hint_CollectPathHints(fsimage, pathlist) ^ In file included from Hint_CollectPathHints.c:40: ./Hint.h:52:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINTDB Hint_CollectPathHints(); ^ 4 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_GetHint.c In file included from HintDB_GetHint.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintDB_GetHint.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintDB_GetHint(hintdb, path) ^ In file included from HintDB_GetHint.c:40: ./Hint.h:54:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINT *HintDB_GetHint(); ^ 3 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_GetRelatedHints.c In file included from HintDB_GetRelatedHints.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintDB_GetRelatedHints.c:73:37: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] relatedhintdb = HintDB_InsertHint(relatedhintdb, *hpp, ^ HintDB_GetRelatedHints.c:94:37: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] relatedhintdb = HintDB_InsertHint(relatedhintdb, *hpp, ^ HintDB_GetRelatedHints.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintDB_GetRelatedHints(hintdb, pathprefix) ^ In file included from HintDB_GetRelatedHints.c:40: ./Hint.h:55:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINTDB HintDB_GetRelatedHints(); ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_MergeHintDB.c In file included from HintDB_MergeHintDB.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintDB_MergeHintDB.c:68:31: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newdb = (HINTDB )emalloc(sizeof(HINT *)); ^ HintDB_MergeHintDB.c:76:32: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newdb = HintDB_InsertHint(newdb, *hp, OverWrite); ^ HintDB_MergeHintDB.c:51:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINTDB HintDB_MergeHintDB(hintdb, deltadb, OverWrite) ^ In file included from HintDB_MergeHintDB.c:40: ./Hint.h:57:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINTDB HintDB_MergeHintDB(); ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_InsertHint.c In file included from HintDB_InsertHint.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintDB_InsertHint.c:71:31: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newdb = (HINTDB) emalloc(sizeof(HINT *)); ^ HintDB_InsertHint.c:100:25: warning: passing arguments to 'HintDB_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArraySize = HintDB_Size(newdb) + 1; ^ HintDB_InsertHint.c:104:27: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newdb = (HINTDB) erealloc((char *) newdb, ^ HintDB_InsertHint.c:115:26: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *hp = (HINT *) emalloc(sizeof(HINT)); ^ HintDB_InsertHint.c:117:33: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_PathName(*hp) = String(HINT_PathName(hintp), ^ HintDB_InsertHint.c:119:33: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_UniqueID(*hp) = String(HINT_UniqueID(hintp), ^ HintDB_InsertHint.c:127:25: warning: passing arguments to 'HintDB_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArraySize = HintDB_Size(newdb) + 1; ^ HintDB_InsertHint.c:140:27: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newdb = (HINTDB) erealloc((char *) newdb, ^ HintDB_InsertHint.c:151:29: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_PathName(*hp) = String(HINT_PathName(hintp), ^ HintDB_InsertHint.c:153:29: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_UniqueID(*hp) = String(HINT_UniqueID(hintp), ^ HintDB_InsertHint.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintDB_InsertHint(hintdb, hintp, OverWrite) ^ In file included from HintDB_InsertHint.c:40: ./Hint.h:56:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINTDB HintDB_InsertHint(); ^ 13 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_SetPathPrefix.c In file included from HintDB_SetPathPrefix.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintDB_SetPathPrefix.c:71:32: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_PathName(*hp) = String(pathprefix, strlen(pathprefix)); ^ HintDB_SetPathPrefix.c:75:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newpath = (char *)emalloc(strlen(pathprefix) ^ HintDB_SetPathPrefix.c:49:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINTDB HintDB_SetPathPrefix(hintdb, pathprefix) ^ In file included from HintDB_SetPathPrefix.c:40: ./Hint.h:59:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINTDB HintDB_SetPathPrefix(); ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_UnsetPathPrefix.c In file included from HintDB_UnsetPathPrefix.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintDB_UnsetPathPrefix.c:76:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newpath = (char *) emalloc(2); ^ HintDB_UnsetPathPrefix.c:80:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newpath = (char *) emalloc(strlen(HINT_PathName(*hp)) ^ HintDB_UnsetPathPrefix.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintDB_UnsetPathPrefix(hintdb, pathprefix) ^ In file included from HintDB_UnsetPathPrefix.c:40: ./Hint.h:60:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINTDB HintDB_UnsetPathPrefix(); ^ 5 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_Read.c In file included from HintDB_Read.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintDB_Read.c:47:26: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintp = (HINT *)emalloc(sizeof(HINT)); ^ HintDB_Read.c:49:39: warning: passing arguments to 'efgetstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_PathName(hintp) = efgetstring(fp, '\\' /* quotechar */); ^ HintDB_Read.c:51:39: warning: passing arguments to 'efgetstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_UniqueID(hintp) = efgetstring(fp, '\\' /* quotechar */); ^ HintDB_Read.c:53:44: warning: passing arguments to 'efgetlong' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_ModTime(hintp) = (time_t)efgetlong(fp); ^ HintDB_Read.c:42:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static HINT *Hint_Read(fp) ^ HintDB_Read.c:72:29: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdbsize = efgetunsigned(fp); ^ HintDB_Read.c:76:26: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = (HINTDB)emalloc((hintdbsize+1)*sizeof(HINT *)); ^ HintDB_Read.c:63:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINTDB HintDB_Read(fp) ^ In file included from HintDB_Read.c:39: ./Hint.h:48:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINTDB HintDB_Read(); ^ 10 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintDB_Write.c In file included from HintDB_Write.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintDB_Write.c:72:16: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Write(fp, HINT_PathName(hintp), ^ HintDB_Write.c:84:16: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Write(fp, HINT_UniqueID(hintp), ^ HintDB_Write.c:92:24: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] fprintf(fp, "%d\n", HINT_ModTime(hintp)); ~~ ^~~~~~~~~~~~~~~~~~~ %ld ./Hint.h:43:26: note: expanded from macro 'HINT_ModTime' #define HINT_ModTime(hp) ((hp)->modtime) ^~~~~~~~~~~~~~~ HintDB_Write.c:55:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int Hint_Write(fp, hintp) ^ HintDB_Write.c:52:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int Hint_Write(); ^ HintDB_Write.c:112:27: warning: passing arguments to 'HintDB_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdbsize = HintDB_Size(hintdb); ^ HintDB_Write.c:104:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int HintDB_Write(fp, hintdb) ^ In file included from HintDB_Write.c:39: ./Hint.h:49:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int HintDB_Write(); ^ 9 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintUtil.c In file included from HintUtil.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintUtil.c:63:29: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintp = (HINT *) emalloc(sizeof(HINT)); ^ HintUtil.c:65:34: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_PathName(hintp) = String(pathname, strlen(pathname)); ^ HintUtil.c:66:34: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_UniqueID(hintp) = String(uniqueid, strlen(uniqueid)); ^ HintUtil.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Hint_Create(pathname, uniqueid, modtime) ^ In file included from HintUtil.c:40: ./Hint.h:62:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINT *Hint_Create(); ^ HintUtil.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Hint_Free(hintp) ^ In file included from HintUtil.c:40: ./Hint.h:66:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void Hint_Free(); ^ HintUtil.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintDB_Free(hintdb) ^ In file included from HintUtil.c:40: ./Hint.h:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void HintDB_Free(); ^ HintUtil.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintDB_Size(hintdb) ^ In file included from HintUtil.c:40: ./Hint.h:63:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern unsigned int HintDB_Size(); ^ HintUtil.c:145:31: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (String_Comparator(HINT_UniqueID(hp1), ^ HintUtil.c:148:31: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (String_Comparator(HINT_PathName(hp1), ^ HintUtil.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Hint_Comparator(hp1, hp2) ^ HintUtil.c:43:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] Boolean Hint_Comparator(); ^ HintUtil.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintDB_Comparator(hintdb1, hintdb2) ^ In file included from HintUtil.c:40: ./Hint.h:65:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Boolean HintDB_Comparator(); ^ HintUtil.c:203:4: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] HINT_ModTime(hint)); ^~~~~~~~~~~~~~~~~~ ./Hint.h:43:26: note: expanded from macro 'HINT_ModTime' #define HINT_ModTime(hp) ((hp)->modtime) ^~~~~~~~~~~~~~~ HintUtil.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Hint_Dump(fp,hint) ^ HintUtil.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintDB_Dump(fp,hdb) ^ 21 warnings generated. rm -f libhint.a ar rv libhint.a Hint_CollectAllHints.o Hint_CollectPathHints.o HintDB_GetHint.o HintDB_GetRelatedHints.o HintDB_MergeHintDB.o HintDB_InsertHint.o HintDB_SetPathPrefix.o HintDB_UnsetPathPrefix.o HintDB_Read.o HintDB_Write.o HintUtil.o ar: creating archive libhint.a a - Hint_CollectAllHints.o a - Hint_CollectPathHints.o a - HintDB_GetHint.o a - HintDB_GetRelatedHints.o a - HintDB_MergeHintDB.o a - HintDB_InsertHint.o a - HintDB_SetPathPrefix.o a - HintDB_UnsetPathPrefix.o a - HintDB_Read.o a - HintDB_Write.o a - HintUtil.o ranlib libhint.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c libhint.a ../build-lib//libhint.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c Hint.h ../build-include//Hint.h ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Hint ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/HintService clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintService_GetHint.c In file included from HintService_GetHint.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintService_GetHint.c:55:43: warning: passing arguments to 'HintService_ReadHintFromLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintp = HintService_ReadHintFromLocation(hintlocation, path); ^ HintService_GetHint.c:49:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT *HintService_GetHint(path, hintlocation) ^ In file included from HintService_GetHint.c:41: ./HintService.h:31:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINT *HintService_GetHint(); ^ HintService_GetHint.c:79:23: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)File_GetStatus(hintlocation, &hintlocationstatus, FALSE/*followlinks*/); ^ HintService_GetHint.c:82:22: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintfd = efopen(hintlocation, "r"); ^ HintService_GetHint.c:134:26: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hp = (HINT *)emalloc(sizeof(HINT)); ^ HintService_GetHint.c:162:31: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_PathName(hp) = String(lasthintpath + 5,/*offset "PATH "*/ ^ HintService_GetHint.c:164:31: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT_UniqueID(hp) = String(hintid + 3, /* offset "ID " */ ^ HintService_GetHint.c:64:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static HINT *HintService_ReadHintFromLocation(hintlocation, path) ^ HintService_GetHint.c:44:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static HINT *HintService_ReadHintFromLocation(); ^ 11 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintService_GetRelatedHints.c In file included from HintService_GetRelatedHints.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintService_GetRelatedHints.c:56:52: warning: passing arguments to 'HintService_ReadRelatedHintsFromLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = HintService_ReadRelatedHintsFromLocation(hintlocation, pathprefix); ^ HintService_GetRelatedHints.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintService_GetRelatedHints(pathprefix, hintlocation) ^ In file included from HintService_GetRelatedHints.c:41: ./HintService.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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINTDB HintService_GetRelatedHints(); ^ HintService_GetRelatedHints.c:78:24: warning: passing arguments to 'File_GetStatus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) File_GetStatus(hintlocation, &hintlocationstatus, FALSE /* followlinks */ ); ^ HintService_GetRelatedHints.c:80:20: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintfd = efopen(hintlocation, "r"); ^ HintService_GetRelatedHints.c:144:30: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = HintDB_InsertHint(hintdb, &hint, TRUE /* OverWrite */ ); ^ HintService_GetRelatedHints.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintService_ReadRelatedHintsFromLocation(hintlocation, pathprefix) ^ HintService_GetRelatedHints.c:44:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static HINTDB HintService_ReadRelatedHintsFromLocation(); ^ 9 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintService_SetHint.c In file included from HintService_SetHint.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintService_SetHint.c:58:39: warning: passing arguments to 'HintService_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = HintService_GetRelatedHints(""/*pathprefix*/, hintlocation); ^ HintService_SetHint.c:60:31: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = HintDB_InsertHint(hintdb, hintinfo, TRUE /*OverWrite*/); ^ HintService_SetHint.c:62:43: warning: passing arguments to 'HintService_WriteHintsToLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void)HintService_WriteHintsToLocation(hintdb, hintlocation); ^ HintService_SetHint.c:52:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINT *HintService_SetHint(hintinfo, hintlocation) ^ In file included from HintService_SetHint.c:41: ./HintService.h:33:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern HINT *HintService_SetHint(); ^ HintService_SetHint.c:74:18: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintfd = efopen(hintlocation, "w"); ^ HintService_SetHint.c:77:30: warning: passing arguments to 'HintService_WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintService_WriteToFile(hintfd, hintdb); ^ HintService_SetHint.c:68:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Boolean HintService_WriteHintsToLocation(hintdb, hintlocation) ^ HintService_SetHint.c:44:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean HintService_WriteHintsToLocation(); ^ HintService_SetHint.c:103:9: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] HINT_ModTime(*hp)); ^~~~~~~~~~~~~~~~~ ../build-include/Hint.h:43:26: note: expanded from macro 'HINT_ModTime' #define HINT_ModTime(hp) ((hp)->modtime) ^~~~~~~~~~~~~~~ HintService_SetHint.c:85:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HintService_WriteToFile(out, hintdb) ^ HintService_SetHint.c:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HintService_WriteToFile(); ^ 13 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c HintService_UnsetRelatedHints.c In file included from HintService_UnsetRelatedHints.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ HintService_UnsetRelatedHints.c:62:39: warning: passing arguments to 'HintService_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = HintService_GetRelatedHints("" /* pathprefix */ , hintlocation); ^ HintService_UnsetRelatedHints.c:64:43: warning: passing arguments to 'HintDB_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] relatedhintdb = HintDB_GetRelatedHints(hintdb, pathprefix); ^ HintService_UnsetRelatedHints.c:72:28: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = HintDB_InsertHint(hintdb, *hpp, TRUE /* OverWrite */ ); ^ HintService_UnsetRelatedHints.c:76:46: warning: passing arguments to 'HintService_WriteHintsToLocation' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) HintService_WriteHintsToLocation(hintdb, hintlocation); ^ HintService_UnsetRelatedHints.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintService_UnsetRelatedHints(pathprefix, hintlocation) ^ In file included from HintService_UnsetRelatedHints.c:41: ./HintService.h:34:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Boolean HintService_UnsetRelatedHints(); ^ HintService_UnsetRelatedHints.c:89:18: warning: passing arguments to 'efopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintfd = efopen(hintlocation, "w"); ^ HintService_UnsetRelatedHints.c:91:28: warning: passing arguments to 'HintService_WriteToFile' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintService_WriteToFile(hintfd, hintdb); ^ HintService_UnsetRelatedHints.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintService_WriteHintsToLocation(hintdb, hintlocation) ^ HintService_UnsetRelatedHints.c:44:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean HintService_WriteHintsToLocation(); ^ HintService_UnsetRelatedHints.c:112:3: warning: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Wformat] HINT_ModTime(*hp)); ^~~~~~~~~~~~~~~~~ ../build-include/Hint.h:43:26: note: expanded from macro 'HINT_ModTime' #define HINT_ModTime(hp) ((hp)->modtime) ^~~~~~~~~~~~~~~ HintService_UnsetRelatedHints.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HintService_WriteToFile(out, hintdb) ^ HintService_UnsetRelatedHints.c:45:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HintService_WriteToFile(); ^ 14 warnings generated. rm -f libhintservice.a ar rv libhintservice.a HintService_GetHint.o HintService_GetRelatedHints.o HintService_SetHint.o HintService_UnsetRelatedHints.o ar: creating archive libhintservice.a a - HintService_GetHint.o a - HintService_GetRelatedHints.o a - HintService_SetHint.o a - HintService_UnsetRelatedHints.o ranlib libhintservice.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c libhintservice.a ../build-lib//libhintservice.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c HintService.h ../build-include//HintService.h ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/HintService ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/DepotConf /opt/pkg/bin/bison -y -d GlobalDepotConf_Read.y GlobalDepotConf_Read.y: warning: 1 shift/reduce conflict [-Wconflicts-sr] GlobalDepotConf_Read.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples /opt/pkg/bin/nbsed -e 's/yy/GlobalDepotConf_Read_/g' -e 's/YY/GLOBALDEPOTCONF_READ_/g' y.tab.c > GlobalDepotConf_Read.c /opt/pkg/bin/nbsed -e 's/yy/GlobalDepotConf_Read_/g' -e 's/YY/GLOBALDEPOTCONF_READ_/g' y.tab.h > GlobalDepotConf_Read.h rm -f y.tab.c y.tab.h clang -O -DHAVE_CONFIG_H -I../build-include/ -c GlobalDepotConf_Read.c In file included from GlobalDepotConf_Read.y:40: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ y.tab.c:1095:35: warning: call to undeclared function 'GlobalDepotConf_Read_lex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] GlobalDepotConf_Read_char = GlobalDepotConf_Read_lex (); ^ GlobalDepotConf_Read.y:111:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DepotConfDB_Map(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[-1].strval), (GlobalDepotConf_Read_vsp[0].strval), (GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:112:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-1].strval)); ^ GlobalDepotConf_Read.y:113:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:120:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DepotConfDB_Map(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[-2].strval), (GlobalDepotConf_Read_vsp[-1].strval), (GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:121:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-2].strval)); ^ GlobalDepotConf_Read.y:122:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-1].strval)); String_Free((GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:122:69: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-1].strval)); String_Free((GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:129:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DepotConfDB_Map(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[-2].strval), (GlobalDepotConf_Read_vsp[0].strval), (GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:130:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-2].strval)); ^ GlobalDepotConf_Read.y:131:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:138:23: warning: passing arguments to 'DepotConfDB_Map' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DepotConfDB_Map(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[-3].strval), (GlobalDepotConf_Read_vsp[-1].strval), (GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:139:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-3].strval)); ^ GlobalDepotConf_Read.y:140:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-1].strval)); String_Free((GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:140:69: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-1].strval)); String_Free((GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:147:26: warning: passing arguments to 'DepotConfDB_Delete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DepotConfDB_Delete(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[-2].strval), (GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:148:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-2].strval)); ^ GlobalDepotConf_Read.y:149:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:156:27: warning: passing arguments to 'DepotConfDB_Command' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DepotConfDB_Command(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[-3].strval), (GlobalDepotConf_Read_vsp[-1].strval), (GlobalDepotConf_Read_vsp[0].strarrval)); ^ GlobalDepotConf_Read.y:157:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-3].strval)); ^ GlobalDepotConf_Read.y:158:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-1].strval)); StringArray_Free((GlobalDepotConf_Read_vsp[0].strarrval)); ^ GlobalDepotConf_Read.y:158:74: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-1].strval)); StringArray_Free((GlobalDepotConf_Read_vsp[0].strarrval)); ^ GlobalDepotConf_Read.y:165:33: warning: passing arguments to 'DepotConfDB_DeleteCommand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DepotConfDB_DeleteCommand(GlobalDepotConf_Read_DB, (GlobalDepotConf_Read_vsp[-2].strval), (GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:166:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[-2].strval)); ^ GlobalDepotConf_Read.y:167:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:181:69: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (GlobalDepotConf_Read_val.strarrval) = StringArray_AppendString((GlobalDepotConf_Read_vsp[-1].strarrval), (GlobalDepotConf_Read_vsp[0].strval)); ^ GlobalDepotConf_Read.y:182:17: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free((GlobalDepotConf_Read_vsp[0].strval)); ^ y.tab.c:1374:7: warning: call to undeclared function 'GlobalDepotConf_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] GlobalDepotConf_Read_error (GLOBALDEPOTCONF_READ__("syntax error")); ^ y.tab.c:1485:3: warning: call to undeclared function 'GlobalDepotConf_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] GlobalDepotConf_Read_error (GLOBALDEPOTCONF_READ__("memory exhausted")); ^ GlobalDepotConf_Read.y:189:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] GlobalDepotConf_Read_error(str) ^ int GlobalDepotConf_Read.y:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GlobalDepotConf_Read.y:194:1: warning: non-void function does not return a value [-Wreturn-type] } ^ GlobalDepotConf_Read.y:197:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] GlobalDepotConf_Read_wrap() ^ int GlobalDepotConf_Read.y:206:51: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GlobalDepotConf_Read_DB = (DEPOTCONFDB *)emalloc(sizeof(DEPOTCONFDB)); ^ GlobalDepotConf_Read.y:213:3: warning: call to undeclared function 'GlobalDepotConf_Read_parseinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] GlobalDepotConf_Read_parseinit(); ^ GlobalDepotConf_Read.y:201:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DEPOTCONFDB *GlobalDepotConfDB_Read(fp) ^ In file included from GlobalDepotConf_Read.y:42: ./DepotConf.h:61:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern DEPOTCONFDB *GlobalDepotConfDB_Read(); ^ 38 warnings generated. /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c GlobalDepotConf_Read.o ../objdir//GlobalDepotConf_Read.o /usr/bin/lex -l GlobalDepotConf_Parse.l *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/DepotConf ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/DepotConf ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Preference clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Lookup.c In file included from Preference_Lookup.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ Preference_Lookup.c:76:27: warning: passing arguments to 'Preference_Type' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if (Preference_Type(name) & PREF_UNKNOWN) ^ Preference_Lookup.c:96:38: warning: passing arguments to 'PreferenceDB_HashBucket' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hashp = PreferenceDB_HashBucket(*prefdbp, item, name); ^ Preference_Lookup.c:110:42: warning: passing arguments to 'Preference_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Comparison = Preference_Comparator(*pp, item, name); ^ Preference_Lookup.c:130:35: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *hashp = (PREFERENCE **)emalloc(sizeof(PREFERENCE *)); ^ Preference_Lookup.c:133:39: warning: passing arguments to 'PreferenceArray_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ArraySize = PreferenceArray_Size(*hashp) + 1; ^ Preference_Lookup.c:137:39: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *hashp = (PREFERENCE **)erealloc((void *)*hashp, ^ Preference_Lookup.c:145:27: warning: passing arguments to 'Preference_Create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *pp = Preference_Create(item, name); ^ Preference_Lookup.c:51:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCE *Preference_Lookup(prefdbp, item, name, Create) ^ In file included from Preference_Lookup.c:38: ./Preference.h:104:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PREFERENCE *Preference_Lookup(); ^ Preference_Lookup.c:161:33: warning: passing arguments to 'ecalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prefdb = (PREFERENCEDB)ecalloc(Preference_HashTableSize, ^ Preference_Lookup.c:168:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static PREFERENCE ***PreferenceDB_HashBucket(prefdb, item, name) ^ Preference_Lookup.c:42:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static PREFERENCE ***PreferenceDB_HashBucket(); ^ Preference_Lookup.c:199:32: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] prefp = (PREFERENCE *)emalloc(sizeof(PREFERENCE)); ^ Preference_Lookup.c:202:55: warning: passing arguments to 'Preference_OptionID' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCE_OptionID(prefp) = Preference_OptionID(name); ^ Preference_Lookup.c:211:36: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (item == NULL) ? NULL : String(item, strlen(item)); ^ Preference_Lookup.c:212:44: warning: passing arguments to 'Preference_Type' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCE_Type(prefp) = Preference_Type(name); ^ Preference_Lookup.c:218:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (int) Preference_DefaultValue(PREF_INTEGER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:218:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (int) Preference_DefaultValue(PREF_INTEGER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:218:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (int) Preference_DefaultValue(PREF_INTEGER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:218:12: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (int) Preference_DefaultValue(PREF_INTEGER); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:222:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (unsigned) Preference_DefaultValue(PREF_UNSIGNED); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:222:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (unsigned) Preference_DefaultValue(PREF_UNSIGNED); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:222:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (unsigned) Preference_DefaultValue(PREF_UNSIGNED); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:222:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (unsigned) Preference_DefaultValue(PREF_UNSIGNED); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:226:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (Boolean) Preference_DefaultValue(PREF_BOOLEAN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:226:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (Boolean) Preference_DefaultValue(PREF_BOOLEAN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:226:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (Boolean) Preference_DefaultValue(PREF_BOOLEAN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:226:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (Boolean) Preference_DefaultValue(PREF_BOOLEAN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:230:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (char *) Preference_DefaultValue(PREF_STRING); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:230:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (char *) Preference_DefaultValue(PREF_STRING); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:230:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (char *) Preference_DefaultValue(PREF_STRING); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:230:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (char *) Preference_DefaultValue(PREF_STRING); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:230:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] = (char *) Preference_DefaultValue(PREF_STRING); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:234:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (STRINGARRAY *) Preference_DefaultValue(PREF_STRINGARRAY); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:234:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (STRINGARRAY *) Preference_DefaultValue(PREF_STRINGARRAY); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:234:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (STRINGARRAY *) Preference_DefaultValue(PREF_STRINGARRAY); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:234:21: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (STRINGARRAY *) Preference_DefaultValue(PREF_STRINGARRAY); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:234:5: warning: cast to 'STRINGARRAY *' (aka 'struct stringarray *') from smaller integer type 'int' [-Wint-to-pointer-cast] = (STRINGARRAY *) Preference_DefaultValue(PREF_STRINGARRAY); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:238:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (STRINGSET *) Preference_DefaultValue(PREF_STRINGSET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:238:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (STRINGSET *) Preference_DefaultValue(PREF_STRINGSET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:238:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (STRINGSET *) Preference_DefaultValue(PREF_STRINGSET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:238:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (STRINGSET *) Preference_DefaultValue(PREF_STRINGSET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:238:5: warning: cast to 'STRINGSET *' (aka 'struct stringarray *') from smaller integer type 'int' [-Wint-to-pointer-cast] = (STRINGSET *) Preference_DefaultValue(PREF_STRINGSET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:242:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (SENTENCE *) Preference_DefaultValue(PREF_SENTENCE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:90:26: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRING) ? (int) PREFDEFAULT_STRING : \ ^~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:242:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (SENTENCE *) Preference_DefaultValue(PREF_SENTENCE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:91:31: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGARRAY) ? (int) PREFDEFAULT_STRINGARRAY : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:242:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (SENTENCE *) Preference_DefaultValue(PREF_SENTENCE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:92:29: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_STRINGSET) ? (int) PREFDEFAULT_STRINGSET : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:242:19: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] = (SENTENCE *) Preference_DefaultValue(PREF_SENTENCE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./Preference.h:93:28: note: expanded from macro 'Preference_DefaultValue' ((x) & PREF_SENTENCE) ? (int) PREFDEFAULT_SENTENCE : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:242:5: warning: cast to 'SENTENCE *' (aka 'struct stringarray *') from smaller integer type 'int' [-Wint-to-pointer-cast] = (SENTENCE *) Preference_DefaultValue(PREF_SENTENCE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Preference_Lookup.c:194:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static PREFERENCE *Preference_Create(item, name) ^ Preference_Lookup.c:41:20: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static PREFERENCE *Preference_Create(); ^ 51 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c PreferenceUtil.c In file included from PreferenceUtil.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ PreferenceUtil.c:80:29: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static struct PrefTypePair *PrefTypePair_LocateByName(pname) ^ PreferenceUtil.c:100:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned short Preference_Type(pname) ^ In file included from PreferenceUtil.c:38: ./Preference.h:138:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern unsigned short Preference_Type(); ^ PreferenceUtil.c:110:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Preference_OptionID(pname) ^ In file included from PreferenceUtil.c:38: ./Preference.h:139:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int Preference_OptionID(); ^ PreferenceUtil.c:129:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Preference_OptionName(id) ^ In file included from PreferenceUtil.c:38: ./Preference.h:140:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *Preference_OptionName(); ^ PreferenceUtil.c:147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int PreferenceArray_Size(pp) ^ In file included from PreferenceUtil.c:38: ./Preference.h:141:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int PreferenceArray_Size(); ^ PreferenceUtil.c:166:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Preference_Comparator(prefp, item, name) ^ In file included from PreferenceUtil.c:38: ./Preference.h:142:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int Preference_Comparator(); ^ 12 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c PreferenceDBUtil.c In file included from PreferenceDBUtil.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ PreferenceDBUtil.c:61:36: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] values1 = Preference_GetStringSet(preferencedbp, collectionname1, ^ PreferenceDBUtil.c:71:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (StringSet_Member(values1, collectionname2)) ^ PreferenceDBUtil.c:75:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (StringSet_Member(values1, PREF_WILDITEM)) ^ PreferenceDBUtil.c:79:40: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wilditems = Preference_GetStringSet(preferencedbp, PREF_WILDITEM, ^ PreferenceDBUtil.c:89:24: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!StringSet_Member(wilditems, collectionname2)) { ^ PreferenceDBUtil.c:95:38: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] values2 = Preference_GetStringSet(preferencedbp, collectionname2, ^ PreferenceDBUtil.c:98:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (StringSet_Member(values2, collectionname1)) { ^ PreferenceDBUtil.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PreferenceDB_Override(collectionname1, collectionname2, preferencedbp) ^ In file included from PreferenceDBUtil.c:38: ./Preference.h:133:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Boolean PreferenceDB_Override(); ^ PreferenceDBUtil.c:125:48: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CopyCollectionSet = Preference_GetStringSet(preferencedbp, ^ PreferenceDBUtil.c:131:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (StringSet_Member(CopyCollectionSet, collectionname)) ^ PreferenceDBUtil.c:134:46: warning: passing arguments to 'Preference_GetStringSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LinkCollectionSet = Preference_GetStringSet(preferencedbp, ^ PreferenceDBUtil.c:139:23: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (StringSet_Member(LinkCollectionSet, collectionname)) ^ PreferenceDBUtil.c:143:25: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (StringSet_Member(CopyCollectionSet, "*")) { ^ PreferenceDBUtil.c:146:25: warning: passing arguments to 'StringSet_Member' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (StringSet_Member(LinkCollectionSet, "*")) { ^ PreferenceDBUtil.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PreferenceDB_CollectionInstallMethod(collectionname, preferencedbp) ^ In file included from PreferenceDBUtil.c:38: ./Preference.h:134:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *PreferenceDB_CollectionInstallMethod(); ^ 18 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Set.c In file included from Preference_Set.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ Preference_Set.c:49:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); ^ Preference_Set.c:42:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCEDB *Preference_SetInt(prefdbp, item, prefname, prefval) ^ In file included from Preference_Set.c:38: ./Preference.h:107:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PREFERENCEDB *Preference_SetInt(); ^ Preference_Set.c:71:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); ^ Preference_Set.c:64:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCEDB *Preference_SetUnsigned(prefdbp, item, prefname, prefval) ^ In file included from Preference_Set.c:38: ./Preference.h:108:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PREFERENCEDB *Preference_SetUnsigned(); ^ Preference_Set.c:93:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); ^ Preference_Set.c:86:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCEDB *Preference_SetBoolean(prefdbp, item, prefname, prefval) ^ In file included from Preference_Set.c:38: ./Preference.h:109:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PREFERENCEDB *Preference_SetBoolean(); ^ Preference_Set.c:116:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); ^ Preference_Set.c:125:37: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCE_StrVal(pp) = String(prefval, strlen(prefval)); ^ Preference_Set.c:127:13: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free(oldval); ^ Preference_Set.c:108:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCEDB *Preference_SetString(prefdbp, item, prefname, prefval) ^ In file included from Preference_Set.c:38: ./Preference.h:110:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PREFERENCEDB *Preference_SetString(); ^ Preference_Set.c:142:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); ^ Preference_Set.c:152:27: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Size(prefval)); ^ Preference_Set.c:151:45: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCE_StrArrVal(pp) = StringArray(prefval, ^ Preference_Set.c:154:25: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Free(oldval); ^ Preference_Set.c:134:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCEDB *Preference_SetStringArray(prefdbp, item, prefname, prefval) ^ In file included from Preference_Set.c:38: ./Preference.h:111:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PREFERENCEDB *Preference_SetStringArray(); ^ Preference_Set.c:168:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); ^ Preference_Set.c:176:49: warning: passing arguments to 'StringSet_Merge' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCE_StrSetVal(pp) = StringSet_Merge(PREFERENCE_StrSetVal(pp), ^ Preference_Set.c:161:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCEDB *Preference_SetStringSet(prefdbp, item, prefname, prefval) ^ In file included from Preference_Set.c:38: ./Preference.h:112:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PREFERENCEDB *Preference_SetStringSet(); ^ Preference_Set.c:192:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, TRUE/*Create*/); ^ Preference_Set.c:202:29: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Size(prefval)); ^ Preference_Set.c:201:47: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCE_SentenceVal(pp) = StringArray(prefval, ^ Preference_Set.c:204:25: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Free(oldval); ^ Preference_Set.c:207:22: warning: passing arguments to 'Preference_Type' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (Preference_Type(prefname) & PREF_FILTER) ^ Preference_Set.c:209:37: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (! (fl = Preference_Lookup(prefdbp, PrefInternalCmdList, ^ Preference_Set.c:211:27: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fl = Preference_Lookup(prefdbp, PrefInternalCmdList, ^ Preference_Set.c:217:55: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCE_StrArrVal(fl) = StringArray_AppendString(NULL, item); ^ Preference_Set.c:223:32: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_AppendString(PREFERENCE_StrArrVal(fl), item); ^ Preference_Set.c:218:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ Preference_Set.c:184:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCEDB *Preference_SetSentence(prefdbp, item, prefname, prefval) ^ In file included from Preference_Set.c:38: ./Preference.h:113:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PREFERENCEDB *Preference_SetSentence(); ^ 37 warnings generated. clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Get.c In file included from Preference_Get.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ Preference_Get.c:49:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); ^ Preference_Get.c:53:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); ^ Preference_Get.c:41:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int Preference_GetInt(prefdbp, item, prefname, prefdefaultval) ^ In file included from Preference_Get.c:38: ./Preference.h:115:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int Preference_GetInt(); ^ Preference_Get.c:79:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); ^ Preference_Get.c:83:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); ^ Preference_Get.c:71:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned Preference_GetUnsigned(prefdbp, item, prefname, prefdefaultval) ^ In file included from Preference_Get.c:38: ./Preference.h:116:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern unsigned Preference_GetUnsigned(); ^ Preference_Get.c:109:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); ^ Preference_Get.c:113:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); ^ Preference_Get.c:101:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Boolean Preference_GetBoolean(prefdbp, item, prefname, prefdefaultval) ^ In file included from Preference_Get.c:38: ./Preference.h:117:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Boolean Preference_GetBoolean(); ^ Preference_Get.c:140:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); ^ Preference_Get.c:144:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); ^ Preference_Get.c:159:50: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { prefval = (strval == NULL) ? NULL : String(strval, strlen(strval)); } ^ Preference_Get.c:131:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *Preference_GetString(prefdbp, item, prefname, prefdefaultval) ^ In file included from Preference_Get.c:38: ./Preference.h:118:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *Preference_GetString(); ^ Preference_Get.c:175:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); ^ Preference_Get.c:179:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); ^ Preference_Get.c:197:48: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NULL : StringArray(strarrval, StringArray_Size(strarrval)); ^ Preference_Get.c:197:20: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NULL : StringArray(strarrval, StringArray_Size(strarrval)); ^ Preference_Get.c:165:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] STRINGARRAY *Preference_GetStringArray(prefdbp, item, prefname, prefdefaultval, alloc) ^ In file included from Preference_Get.c:38: ./Preference.h:119:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern STRINGARRAY *Preference_GetStringArray(); ^ Preference_Get.c:217:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); ^ Preference_Get.c:221:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); ^ Preference_Get.c:238:48: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NULL : StringArray(strsetval, StringArray_Size(strsetval)); ^ Preference_Get.c:238:20: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NULL : StringArray(strsetval, StringArray_Size(strsetval)); ^ Preference_Get.c:207:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] STRINGSET *Preference_GetStringSet(prefdbp, item, prefname, prefdefaultval, alloc) ^ In file included from Preference_Get.c:38: ./Preference.h:120:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern STRINGSET *Preference_GetStringSet(); ^ Preference_Get.c:257:25: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, item, prefname, FALSE/*Create*/); ^ Preference_Get.c:261:24: warning: passing arguments to 'Preference_Lookup' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pp = Preference_Lookup(prefdbp, PREF_WILDITEM,prefname,FALSE/*Create*/); ^ Preference_Get.c:278:50: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NULL : StringArray(sentenceval, StringArray_Size(sentenceval)); ^ Preference_Get.c:278:20: warning: passing arguments to 'StringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NULL : StringArray(sentenceval, StringArray_Size(sentenceval)); ^ Preference_Get.c:248:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SENTENCE *Preference_GetSentence(prefdbp, item, prefname, prefdefaultval) ^ In file included from Preference_Get.c:38: ./Preference.h:121:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern SENTENCE *Preference_GetSentence(); ^ 36 warnings generated. /opt/pkg/bin/bison -y -d Preference_Read.y Preference_Read.y: warning: 20 shift/reduce conflicts [-Wconflicts-sr] Preference_Read.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples /opt/pkg/bin/nbsed -e 's/yy/Preference_Read_/g' -e 's/YY/PREFERENCE_READ_/g' y.tab.c > Preference_Read.c /opt/pkg/bin/nbsed -e 's/yy/Preference_Read_/g' -e 's/YY/PREFERENCE_READ_/g' y.tab.h > Preference_Read.h rm -f y.tab.c y.tab.h clang -O -DHAVE_CONFIG_H -I../build-include/ -c Preference_Read.c In file included from Preference_Read.y:40: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ y.tab.c:1211:30: warning: call to undeclared function 'Preference_Read_lex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Preference_Read_char = Preference_Read_lex (); ^ Preference_Read.y:203:29: warning: passing arguments to 'Preference_SetInt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetInt(Preference_Read_PreferenceDB, ^ Preference_Read.y:215:34: warning: passing arguments to 'Preference_SetUnsigned' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetUnsigned(Preference_Read_PreferenceDB, ^ Preference_Read.y:227:33: warning: passing arguments to 'Preference_SetBoolean' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetBoolean(Preference_Read_PreferenceDB, ^ Preference_Read.y:239:32: warning: passing arguments to 'Preference_SetString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetString(Preference_Read_PreferenceDB, ^ Preference_Read.y:251:37: warning: passing arguments to 'Preference_SetStringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetStringArray(Preference_Read_PreferenceDB, ^ Preference_Read.y:263:35: warning: passing arguments to 'Preference_SetStringSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetStringSet(Preference_Read_PreferenceDB, ^ Preference_Read.y:275:34: warning: passing arguments to 'Preference_SetSentence' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetSentence(Preference_Read_PreferenceDB, ^ Preference_Read.y:325:29: warning: passing arguments to 'Preference_SetInt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetInt(Preference_Read_PreferenceDB, ^ Preference_Read.y:337:34: warning: passing arguments to 'Preference_SetUnsigned' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetUnsigned(Preference_Read_PreferenceDB, ^ Preference_Read.y:349:33: warning: passing arguments to 'Preference_SetBoolean' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetBoolean(Preference_Read_PreferenceDB, ^ Preference_Read.y:361:32: warning: passing arguments to 'Preference_SetString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetString(Preference_Read_PreferenceDB, ^ Preference_Read.y:373:37: warning: passing arguments to 'Preference_SetStringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetStringArray(Preference_Read_PreferenceDB, ^ Preference_Read.y:385:35: warning: passing arguments to 'Preference_SetStringSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetStringSet(Preference_Read_PreferenceDB, ^ Preference_Read.y:397:34: warning: passing arguments to 'Preference_SetSentence' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = Preference_SetSentence(Preference_Read_PreferenceDB, ^ Preference_Read.y:407:64: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Preference_Read_val.strarrval) = StringArray_AppendString(NULL, (Preference_Read_vsp[0].strval)); ^ Preference_Read.y:412:64: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Preference_Read_val.strarrval) = StringArray_AppendString((Preference_Read_vsp[-2].strarrval), (Preference_Read_vsp[0].strval)); ^ Preference_Read.y:419:59: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Preference_Read_val.strsetval) = StringSet_AddString(NULL, (Preference_Read_vsp[0].strval)); ^ Preference_Read.y:424:59: warning: passing arguments to 'StringSet_AddString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Preference_Read_val.strsetval) = StringSet_AddString((Preference_Read_vsp[-2].strsetval), (Preference_Read_vsp[0].strval)); ^ Preference_Read.y:431:66: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Preference_Read_val.sentenceval) = StringArray_AppendString(NULL, (Preference_Read_vsp[0].strval)); ^ Preference_Read.y:436:66: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (Preference_Read_val.sentenceval) = StringArray_AppendString((Preference_Read_vsp[-2].sentenceval), (Preference_Read_vsp[0].strval)); ^ y.tab.c:1781:7: warning: call to undeclared function 'Preference_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Preference_Read_error (PREFERENCE_READ__("syntax error")); ^ y.tab.c:1892:3: warning: call to undeclared function 'Preference_Read_error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Preference_Read_error (PREFERENCE_READ__("memory exhausted")); ^ Preference_Read.y:451:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Preference_Read_error(str) ^ int Preference_Read.y:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Preference_Read.y:457:1: warning: non-void function does not return a value [-Wreturn-type] } ^ Preference_Read.y:460:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] Preference_Read_wrap() ^ int Preference_Read.y:469:57: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Preference_Read_PreferenceDB = (PREFERENCEDB *)emalloc(sizeof(PREFERENCEDB)); ^ Preference_Read.y:476:3: warning: call to undeclared function 'Preference_Read_parseinit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Preference_Read_parseinit(); ^ Preference_Read.y:464:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PREFERENCEDB *PreferenceDB_Read(fp) ^ In file included from Preference_Read.y:42: ./Preference.h:102:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern PREFERENCEDB *PreferenceDB_Read(); ^ 32 warnings generated. /usr/bin/lex -l Preference_Parse.l *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Preference ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Preference ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/TargetDB clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Read.c In file included from TargetDB_Read.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ TargetDB_Read.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_ReadUShort(fp) ^ TargetDB_Read.c:42:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static unsigned short TargetDB_ReadUShort(); ^ TargetDB_Read.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_ReadUnsigned(fp) ^ TargetDB_Read.c:44:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static unsigned int TargetDB_ReadUnsigned(); ^ TargetDB_Read.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_ReadOctalUShort(fp) ^ TargetDB_Read.c:43:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static unsigned short TargetDB_ReadOctalUShort(); ^ TargetDB_Read.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_ReadChar(fp) ^ TargetDB_Read.c:45:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int TargetDB_ReadChar(); ^ TargetDB_Read.c:167:30: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer = (char *) emalloc(buffersize * sizeof(char)); ^ TargetDB_Read.c:185:30: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] buffer = (char *) erealloc((void *) buffer, ^ TargetDB_Read.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_ReadString(fp) ^ TargetDB_Read.c:46:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char *TargetDB_ReadString(); ^ TargetDB_Read.c:211:37: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sourcep = (TARGETSOURCE *) emalloc(sizeof(TARGETSOURCE)); ^ TargetDB_Read.c:213:19: warning: passing arguments to 'efgetlong' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sourceindex = efgetint(fp); ^ ../build-include/util.h:69:37: note: expanded from macro 'efgetint' #define efgetint(fp) ((int)efgetlong(fp)) ^ TargetDB_Read.c:217:27: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (StringArray_Size(sourcepathset) <= sourceindex) { ^ TargetDB_Read.c:220:35: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sourceindex, StringArray_Size(sourcepathset), nodename, TARGETSOURCE_Path(sourcep)); ^ TargetDB_Read.c:226:25: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (String_Comparator(buffer, "/") == 0) { ^ TargetDB_Read.c:233:37: warning: passing arguments to 'String' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TARGETSOURCE_Path(sourcep) = String(buffer, strlen(buffer)); ^ TargetDB_Read.c:238:53: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TARGETSOURCE_UpdateSpec(sourcep) = efgetunsigned(fp); ^ TargetDB_Read.c:242:42: warning: passing arguments to 'efgetlong' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TARGETSOURCE_CollectionId(sourcep) = efgetint(fp); ^ ../build-include/util.h:69:37: note: expanded from macro 'efgetint' #define efgetint(fp) ((int)efgetlong(fp)) ^ TargetDB_Read.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetSource_Read(fp, nodename, sourcepathset) ^ TargetDB_Read.c:48:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static TARGETSOURCE *TargetSource_Read(); ^ TargetDB_Read.c:272:48: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sourcelist = (TARGETSOURCELIST *) emalloc(sizeof(TARGETSOURCELIST)); ^ TargetDB_Read.c:277:29: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (TARGETSOURCE **) emalloc(nsources * sizeof(TARGETSOURCE *)); ^ TargetDB_Read.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetSourceList_Read(fp, nodename, sourcepathset) ^ TargetDB_Read.c:47:26: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static TARGETSOURCELIST *TargetSourceList_Read(); ^ TargetDB_Read.c:301:43: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] thisentryp = (TARGETDBENTRY *) emalloc(sizeof(TARGETDBENTRY)); ^ TargetDB_Read.c:305:52: warning: passing arguments to 'efgetunsigned' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TARGETDB_UpdateSpec(thisentryp) = efgetunsigned(fp); ^ TargetDB_Read.c:312:22: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (FILESTAT *) emalloc(sizeof(FILESTAT)); ^ TargetDB_Read.c:314:22: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (FILESTAT *) emalloc(sizeof(FILESTAT)); ^ TargetDB_Read.c:350:26: warning: passing arguments to 'TargetSourceList_PathSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetSourceList_PathSet(TARGETDB_SourceList(thisentryp)); ^ TargetDB_Read.c:352:28: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (TARGETDBENTRY **) emalloc((unsigned) TARGETDB_ChildCount(thisentryp) * ^ TargetDB_Read.c:362:18: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Free(childsourcepathset); ^ TargetDB_Read.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Tree_Read(fp, sourcepathset) ^ TargetDB_Read.c:49:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static TARGETDB *TargetDB_Tree_Read(); ^ TargetDB_Read.c:384:23: warning: passing arguments to 'efgetlong' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sourcepathsetsize = efgetint(fp); ^ ../build-include/util.h:69:37: note: expanded from macro 'efgetint' #define efgetint(fp) ((int)efgetlong(fp)) ^ TargetDB_Read.c:390:28: warning: passing arguments to 'efgetstring' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newstring = efgetstring(fp, '\\'); ^ TargetDB_Read.c:391:45: warning: passing arguments to 'StringArray_AppendString' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sourcepathset = StringArray_AppendString(sourcepathset, newstring); ^ TargetDB_Read.c:392:16: warning: passing arguments to 'String_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Free(newstring); ^ TargetDB_Read.c:403:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Free(sourcepathset); ^ TargetDB_Read.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_ReadUncompressed(fp) ^ TargetDB_Read.c:50:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static TARGETDB *TargetDB_ReadUncompressed(); ^ TargetDB_Read.c:453:8: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] pid = vfork(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ TargetDB_Read.c:460:22: warning: passing arguments to 'efdopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pipeinfp = efdopen(pipefd[0], "r"); ^ TargetDB_Read.c:483:7: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] wait(&ExecStatus); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:248:19: note: passing argument to parameter here pid_t wait(int *) __DARWIN_ALIAS_C(wait); ^ TargetDB_Read.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Read(fp, compressflag) ^ In file included from TargetDB_Read.c:39: ./TargetDB.h:151:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern TARGETDB *TargetDB_Read(); ^ 48 warnings generated. /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c TargetDB_Read.o ../objdir//TargetDB_Read.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Write.c In file included from TargetDB_Write.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ TargetDB_Write.c:82:28: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (String_Comparator(leaf_node, nodename) == 0) { ^ TargetDB_Write.c:88:31: warning: passing arguments to 'StringSet_Index' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sourceindex = StringSet_Index(sourcepathset, potentialparentpath); ^ TargetDB_Write.c:93:31: warning: passing arguments to 'StringSet_Index' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sourceindex = StringSet_Index(sourcepathset, ^ TargetDB_Write.c:99:14: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Write(fd, TARGETSOURCE_Path(sourcep), ^ TargetDB_Write.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetSource_Write(fd, sourcep, nodename, sourcepathset) ^ TargetDB_Write.c:52:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int TargetSource_Write(); ^ TargetDB_Write.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetSourceList_Write(fd, sourcelist, nodename, sourcepathset) ^ TargetDB_Write.c:53:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int TargetSourceList_Write(); ^ TargetDB_Write.c:179:19: warning: passing arguments to 'String_Write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] String_Write(fd, TARGETDB_Name(tdb), ^ TargetDB_Write.c:211:28: warning: passing arguments to 'TargetSourceList_PathSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetSourceList_PathSet(TARGETDB_SourceList(tdb)); ^ TargetDB_Write.c:219:20: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Free(childsourcepathset); ^ TargetDB_Write.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Tree_Write(fd, tdb, sourcepathset) ^ TargetDB_Write.c:54:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int TargetDB_Tree_Write(); ^ TargetDB_Write.c:235:45: warning: passing arguments to 'TargetSourceList_PathSet' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sourcepathset = TargetSourceList_PathSet(TARGETDB_SourceList(TargetDB)); ^ TargetDB_Write.c:238:41: warning: passing arguments to 'StringArray_Size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fprintf(fd, "%d\n", StringArray_Size(sourcepathset)); ^ TargetDB_Write.c:240:24: warning: passing arguments to 'StringArray_Write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Write(fd, sourcepathset, ^ TargetDB_Write.c:251:21: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringArray_Free(sourcepathset); ^ TargetDB_Write.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_WriteUncompressed(fd, TargetDB) ^ TargetDB_Write.c:55:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int TargetDB_WriteUncompressed(); ^ TargetDB_Write.c:295:8: warning: 'vfork' is deprecated: Use posix_spawn or fork [-Wdeprecated-declarations] pid = vfork(); ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here __deprecated_msg("Use posix_spawn or fork") ^ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ TargetDB_Write.c:302:22: warning: passing arguments to 'efdopen' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pipeinfp = efdopen(pipefd[1], "w"); ^ TargetDB_Write.c:325:7: warning: incompatible pointer types passing 'union wait *' to parameter of type 'int *' [-Wincompatible-pointer-types] wait(&ExecStatus); ^~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/sys/wait.h:248:19: note: passing argument to parameter here pid_t wait(int *) __DARWIN_ALIAS_C(wait); ^ TargetDB_Write.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Write(fp, TargetDB, compressflag) ^ In file included from TargetDB_Write.c:39: ./TargetDB.h:152:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int TargetDB_Write(); ^ 25 warnings generated. /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c TargetDB_Write.o ../objdir//TargetDB_Write.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Locate.c In file included from TargetDB_Locate.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ TargetDB_Locate.c:70:50: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] targetpathstringarray = StringToStringArray(pathtonode, ^ TargetDB_Locate.c:87:39: warning: passing arguments to 'TargetDB_LocateChildNode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] childnodep = TargetDB_LocateChildNode(childnodep, *sp, flags); ^ TargetDB_Locate.c:91:30: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) StringArray_Free(targetpathstringarray); ^ TargetDB_Locate.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_LocateNode(targetdbp, pathtonode, flags) ^ In file included from TargetDB_Locate.c:39: ./TargetDB.h:154:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern TARGETDBENTRY *TargetDB_LocateNode(); ^ TargetDB_Locate.c:141:32: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] comparison = String_Comparator(TARGETDB_Name(*childp), childname); ^ TargetDB_Locate.c:157:38: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] comparison = String_Comparator(TARGETDB_Name(*childp), ^ TargetDB_Locate.c:178:36: warning: passing arguments to 'emalloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = (TARGETDBENTRY **) emalloc(sizeof(TARGETDBENTRY *)); ^ TargetDB_Locate.c:182:16: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erealloc((void *) TARGETDB_Children(targetdbp), ^ TargetDB_Locate.c:194:27: warning: passing arguments to 'TargetDB_Create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *tp = TargetDB_Create(childname /* name of child node */ , ^ TargetDB_Locate.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_LocateIndexToChildNode(targetdbp, childname, flags) ^ In file included from TargetDB_Locate.c:39: ./TargetDB.h:156:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int TargetDB_LocateIndexToChildNode(); ^ TargetDB_Locate.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_LocateChildNode(targetdbp, childname, flags) ^ In file included from TargetDB_Locate.c:39: ./TargetDB.h:155:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern TARGETDBENTRY *TargetDB_LocateChildNode(); ^ 15 warnings generated. /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c TargetDB_Locate.o ../objdir//TargetDB_Locate.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Delete.c In file included from TargetDB_Delete.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ TargetDB_Delete.c:62:26: warning: passing arguments to 'String_Comparator' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (String_Comparator(pathtodelete, "/") == 0) { ^ TargetDB_Delete.c:64:15: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Free(targetdbp); ^ TargetDB_Delete.c:71:50: warning: passing arguments to 'StringToStringArray' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] targetpathstringarray = StringToStringArray(pathtodelete, ^ TargetDB_Delete.c:82:45: warning: passing arguments to 'TargetDB_DeletePathInSubtree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newtargetdbp = TargetDB_DeletePathInSubtree(targetdbp, ^ TargetDB_Delete.c:87:25: warning: passing arguments to 'StringArray_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) StringArray_Free(targetpathstringarray); ^ TargetDB_Delete.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_DeleteTargetPath(targetdbp, pathtodelete, flags) ^ In file included from TargetDB_Delete.c:39: ./TargetDB.h:158:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern TARGETDB *TargetDB_DeleteTargetPath(); ^ TargetDB_Delete.c:121:15: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Free(newtargetdbp); ^ TargetDB_Delete.c:125:55: warning: passing arguments to 'TargetDB_LocateIndexToChildNode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] childnodeindex = TargetDB_LocateIndexToChildNode(newtargetdbp, ^ TargetDB_Delete.c:148:48: warning: passing arguments to 'TargetDB_RemoveChildByIndex' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newtargetdbp = TargetDB_RemoveChildByIndex(newtargetdbp, ^ TargetDB_Delete.c:154:16: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Free(newtargetdbp); ^ TargetDB_Delete.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_DeletePathInSubtree(targetdbp, targetpatharray, flags) ^ TargetDB_Delete.c:41:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static TARGETDB *TargetDB_DeletePathInSubtree(); ^ TargetDB_Delete.c:190:20: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Free(childnodep); ^ TargetDB_Delete.c:204:36: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] = (TARGETDBENTRY **) erealloc((void *) TARGETDB_Children(targetdbnodep), ^ TargetDB_Delete.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_RemoveChildByIndex(targetdbnodep, ^ In file included from TargetDB_Delete.c:39: ./TargetDB.h:159:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] TARGETDBENTRY *TargetDB_RemoveChildByIndex(); ^ 18 warnings generated. /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c TargetDB_Delete.o ../objdir//TargetDB_Delete.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Merge.c In file included from TargetDB_Merge.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ TargetDB_Merge.c:60:21: warning: passing arguments to 'SourceList_Merge' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SourceList_Merge(TARGETDB_SourceList(targetdbnodep), ^ TargetDB_Merge.c:72:39: warning: passing arguments to 'TargetDB_UnObsoleteSource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) TargetDB_UnObsoleteSource(targetdbnodep, ^ TargetDB_Merge.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_NodeMerge(targetdbnodep, deltadbnodep, newpathtosources) ^ TargetDB_Merge.c:42:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void TargetDB_NodeMerge(); ^ TargetDB_Merge.c:113:33: warning: passing arguments to 'TargetDB_LocateIndexToChildNode' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_LocateIndexToChildNode(newtargetdbp, ^ TargetDB_Merge.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_TreeMerge(targetdbp, deltadbp, newpathtosources) ^ TargetDB_Merge.c:43:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static TARGETDB *TargetDB_TreeMerge(); ^ TargetDB_Merge.c:141:28: warning: passing arguments to 'TargetDB' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newtargetdbp = TargetDB(deltadbp); ^ TargetDB_Merge.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Merge(targetdbp, deltadbp, newpathtosources) ^ In file included from TargetDB_Merge.c:39: ./TargetDB.h:161:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern TARGETDB *TargetDB_Merge(); ^ 11 warnings generated. /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c TargetDB_Merge.o ../objdir//TargetDB_Merge.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Obsolete.c In file included from TargetDB_Obsolete.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ TargetDB_Obsolete.c:62:41: warning: passing arguments to 'SourceList_FindIndexToCollectionId' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SourceList_FindIndexToCollectionId(sourcelistp, collectionid, TDB_LAX); ^ TargetDB_Obsolete.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_TreeObsoleteCollection(targetdbp, collectionid) ^ TargetDB_Obsolete.c:42:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void TargetDB_TreeObsoleteCollection(); ^ TargetDB_Obsolete.c:127:41: warning: passing arguments to 'SourceList_FindIndexToCollectionId' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SourceList_FindIndexToCollectionId(sourcelistp, collectionid, TDB_LAX); ^ TargetDB_Obsolete.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_TreeUnObsoleteCollection(targetdbp, ^ TargetDB_Obsolete.c:43:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Boolean TargetDB_TreeUnObsoleteCollection(); ^ TargetDB_Obsolete.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_ObsoleteCollection(targetdbp, collectionid) ^ In file included from TargetDB_Obsolete.c:39: ./TargetDB.h:163:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern TARGETDB *TargetDB_ObsoleteCollection(); ^ TargetDB_Obsolete.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_UnObsoleteCollection(targetdbp, ^ In file included from TargetDB_Obsolete.c:39: ./TargetDB.h:164:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern TARGETDB *TargetDB_UnObsoleteCollection(); ^ TargetDB_Obsolete.c:244:47: warning: passing arguments to 'SourceList_FindIndexToSource' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sourceindex = SourceList_FindIndexToSource(TARGETDB_SourceList(targetdbp), ^ TargetDB_Obsolete.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_UnObsoleteSource(targetdbp, ^ In file included from TargetDB_Obsolete.c:39: ./TargetDB.h:165:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Boolean TargetDB_UnObsoleteSource(); ^ 14 warnings generated. /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c TargetDB_Obsolete.o ../objdir//TargetDB_Obsolete.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_Prune.c In file included from TargetDB_Prune.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ TargetDB_Prune.c:63:33: warning: passing arguments to 'SourceList_PruneCollection' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SourceList_PruneCollection(TARGETDB_SourceList(newtargetdbp), ^ TargetDB_Prune.c:69:15: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Free(newtargetdbp); ^ TargetDB_Prune.c:95:16: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erealloc((void *) TARGETDB_Children(newtargetdbp), ^ TargetDB_Prune.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_TreePruneCollection(targetdbp, collectionid) ^ TargetDB_Prune.c:42:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static TARGETDB *TargetDB_TreePruneCollection(); ^ TargetDB_Prune.c:123:20: warning: passing arguments to 'TargetDB_Free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_Free(newtargetdbp); ^ TargetDB_Prune.c:149:14: warning: passing arguments to 'erealloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] erealloc((void *) TARGETDB_Children(newtargetdbp), ^ TargetDB_Prune.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_TreePruneTargets(targetdbp) ^ TargetDB_Prune.c:43:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static TARGETDB *TargetDB_TreePruneTargets(); ^ TargetDB_Prune.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_PruneCollection(targetdbp, collectionid) ^ In file included from TargetDB_Prune.c:39: ./TargetDB.h:167:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern TARGETDB *TargetDB_PruneCollection(); ^ TargetDB_Prune.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TargetDB_PruneTargets(targetdbp) ^ In file included from TargetDB_Prune.c:39: ./TargetDB.h:170:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern TARGETDB *TargetDB_PruneTargets(); ^ 14 warnings generated. /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c TargetDB_Prune.o ../objdir//TargetDB_Prune.o clang -O -DHAVE_CONFIG_H -I../build-include/ -I../../lib/Collection -I../../lib/CollectionList -c TargetDB_SortByOverrides.c In file included from TargetDB_SortByOverrides.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ TargetDB_SortByOverrides.c:41:10: fatal error: 'DepotConf.h' file not found #include "DepotConf.h" ^~~~~~~~~~~~~ 1 warning and 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/TargetDB ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/TargetDB ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Collection clang -O -DHAVE_CONFIG_H -I../build-include/ -c Collection_LocatePath.c In file included from Collection_LocatePath.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ Collection_LocatePath.c:41:10: fatal error: 'DepotConf.h' file not found #include "DepotConf.h" ^~~~~~~~~~~~~ 1 warning and 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Collection ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Collection ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/CollectionList clang -O -DHAVE_CONFIG_H -I../build-include/ -c CollectionList_Read.c In file included from CollectionList_Read.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ CollectionList_Read.c:41:10: fatal error: 'DepotConf.h' file not found #include "DepotConf.h" ^~~~~~~~~~~~~ 1 warning and 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/CollectionList ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/CollectionList ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Command clang -O -DHAVE_CONFIG_H -I../build-include/ -c Command_Build.c In file included from Command_Build.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ Command_Build.c:41:10: fatal error: 'DepotConf.h' file not found #include "DepotConf.h" ^~~~~~~~~~~~~ 1 warning and 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Command ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Command ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/DepotDB clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotDB_OpenClose.c In file included from DepotDB_OpenClose.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ DepotDB_OpenClose.c:40:10: fatal error: 'Preference.h' file not found #include "Preference.h" ^~~~~~~~~~~~~~ 1 warning and 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/DepotDB ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/DepotDB ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Depot clang -O -DHAVE_CONFIG_H -I../build-include/ -c Depot.c In file included from Depot.c:37: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ Depot.c:43:10: fatal error: 'Preference.h' file not found #include "Preference.h" ^~~~~~~~~~~~~~ 1 warning and 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Depot ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/Depot ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/DepotQuery clang -O -DHAVE_CONFIG_H -I../build-include/ -c DepotQuery_CollectionInfo.c In file included from DepotQuery_CollectionInfo.c:36: ../build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ DepotQuery_CollectionInfo.c:40:10: fatal error: 'Preference.h' file not found #include "Preference.h" ^~~~~~~~~~~~~~ 1 warning and 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/DepotQuery ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/DepotQuery ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/libgen rm -f libdepotdb.a ar rv libdepotdb.a ../objdir/*.o ar: creating archive libdepotdb.a a - ../objdir/GlobalDepotConf_Read.o a - ../objdir/TargetDB_Delete.o a - ../objdir/TargetDB_Locate.o a - ../objdir/TargetDB_Merge.o a - ../objdir/TargetDB_Obsolete.o a - ../objdir/TargetDB_Prune.o a - ../objdir/TargetDB_Read.o a - ../objdir/TargetDB_Write.o ranlib libdepotdb.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c libdepotdb.a ../build-lib//libdepotdb.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c MasterDepotDB.h ../build-include/ ./newvers clang -O -c vers.c rm -f libdepotversion.a ar rv libdepotversion.a vers.o ar: creating archive libdepotversion.a a - vers.o ranlib libdepotversion.a /Users/pbulk/build/sysutils/depot/work/.tools/bin/install -c libdepotversion.a ../build-lib//libdepotversion.a ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib/libgen ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/lib ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd/fsi_generate clang -O -DHAVE_CONFIG_H -I../../lib/build-include -c fsi_generate.c In file included from fsi_generate.c:38: ../../lib/build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ fsi_generate.c:57:28: warning: call to undeclared function 'getversion_libdepot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void)fprintf(fp,"%s\n", getversion_libdepot()); ^ fsi_generate.c:57:28: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] (void)fprintf(fp,"%s\n", getversion_libdepot()); ~~ ^~~~~~~~~~~~~~~~~~~~~ %d fsi_generate.c:50:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Usage(fp) ^ fsi_generate.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int fsi_generate.c:79:54: warning: passing arguments to 'FileSystemImage_Build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileSystemImage_Write(out, FileSystemImage_Build(argv[1])); ^ fsi_generate.c:79:27: warning: passing arguments to 'FileSystemImage_Write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FileSystemImage_Write(out, FileSystemImage_Build(argv[1])); ^ fsi_generate.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 8 warnings generated. clang -O -o fsi_generate fsi_generate.o ../../lib/build-lib/libfilesystemimage.a ../../lib/build-lib/libfilesystemutil.a ../../lib/build-lib/libfile.a ../../lib/build-lib/libutil.a ../../lib/build-lib/libdepotversion.a ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd/fsi_generate ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd/hintservice clang -O -DHAVE_CONFIG_H -I../../lib/build-include/ -c hintservice.c In file included from hintservice.c:40: ../../lib/build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ hintservice.c:66:30: warning: call to undeclared function 'getversion_libdepot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] (void) fprintf(fp, "%s\n", getversion_libdepot()); ^ hintservice.c:66:30: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] (void) fprintf(fp, "%s\n", getversion_libdepot()); ~~ ^~~~~~~~~~~~~~~~~~~~~ %d hintservice.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Usage(fp) ^ hintservice.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] main(argc, argv) ^ int hintservice.c:104:36: warning: passing arguments to 'FileSystemImage_Read' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fsimage = FileSystemImage_Read(argv[4]); ^ hintservice.c:106:37: warning: passing arguments to 'Hint_CollectAllHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = Hint_CollectAllHints(fsimage); ^ hintservice.c:108:37: warning: passing arguments to 'HintDB_SetPathPrefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = HintDB_SetPathPrefix(hintdb, argv[5]); ^ hintservice.c:116:37: warning: passing arguments to 'FileSystemImage_Build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fsimage = FileSystemImage_Build(argv[4]); ^ hintservice.c:118:37: warning: passing arguments to 'Hint_CollectAllHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = Hint_CollectAllHints(fsimage); ^ hintservice.c:120:37: warning: passing arguments to 'HintDB_SetPathPrefix' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = HintDB_SetPathPrefix(hintdb, argv[5]); ^ hintservice.c:132:34: warning: passing arguments to 'HintService_SetHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) HintService_SetHint(*hp, hintlocation); ^ hintservice.c:144:38: warning: passing arguments to 'HintService_UnsetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) HintService_UnsetRelatedHints(path, hintlocation); ^ hintservice.c:153:29: warning: passing arguments to 'HintService_GetHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintp = HintService_GetHint(path, hintlocation); ^ hintservice.c:159:32: warning: passing arguments to 'HintDB_InsertHint' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = HintDB_InsertHint(NULL /* hintdb */ , ^ hintservice.c:162:25: warning: passing arguments to 'HintDB_Write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) HintDB_Write(out, hintdb); ^ hintservice.c:172:38: warning: passing arguments to 'HintService_GetRelatedHints' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hintdb = HintService_GetRelatedHints(path, hintlocation); ^ hintservice.c:178:25: warning: passing arguments to 'HintDB_Write' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (void) HintDB_Write(out, hintdb); ^ hintservice.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc, argv) ^ 19 warnings generated. clang -O -DHAVE_CONFIG_H -I../../lib/build-include/ -o hintservice hintservice.o -L../../lib/build-lib/ -lhintservice -lhint -lfilesystemimage -lfilesystemutil -lfile -lutil -ldepotversion ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd/hintservice ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd/depot clang -O -DHAVE_CONFIG_H -I../../lib/build-include/ -c depot.c In file included from depot.c:36: ../../lib/build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ depot.c:42:10: fatal error: 'Preference.h' file not found #include "Preference.h" ^~~~~~~~~~~~~~ 1 warning and 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd/depot ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd/depot ### Making all in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd/depot_collectioninfo clang -O -DHAVE_CONFIG_H -I../../lib/build-include/ -c depot_getcollectioninfo.c In file included from depot_getcollectioninfo.c:38: ../../lib/build-include/util.h:85:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] extern char *strerror(); ^ depot_getcollectioninfo.c:43:10: fatal error: 'Preference.h' file not found #include "Preference.h" ^~~~~~~~~~~~~~ 1 warning and 1 error generated. *** Error code 1 Stop. bmake[3]: stopped in /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd/depot_collectioninfo ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd/depot_collectioninfo ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src/cmd ### Done with /Users/pbulk/build/sysutils/depot/work/depot-5.14/src # All finished at Tue May 7 04:31:33 UTC 2024