Snippets for analog 6.0.18 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/ybixpq3dx31ibwzwm55g5cxysl9dyibk-analog-6.0.18.drv.
-
output2.c:130:25: warning: result of comparison of constant 12810238940076077 with expression of type 'datecode_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare] 130 | if (date == 0 || date == LAST_DATE) { | ~~~~ ^ ~~~~~~~~~ -
outhtml.c:440:22: warning: field width should have type 'int', but argument has type 'unsigned long' [-Wformat] 440 | fprintf(outf, "%*s: ", | ~~^ 441 | width + strlen(colname) - od->outputter->strlength(colname), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
outxml.c:68:18: warning: cast to smaller integer type 'int' from 'Outchoices *' (aka 'struct outchoices *') [-Wpointer-to-int-cast] 68 | opts=(Options*)((int)od-offsetof(Options,outopts)); | ^~~~~~~ -
outxml.c:984:15: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 984 | outptr=out+(int)outptr; // repoint | ^~~~~~~~~~~ -
tree.c:806:7: warning: expression result unused [-Wunused-value] 806 | *c++; | ^~~~ -
ioapi.c:68:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | voidpf ZCALLBACK fopen_file_func (opaque, filename, mode) | ^ -
ioapi.c:90:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | uLong ZCALLBACK fread_file_func (opaque, stream, buf, size) | ^ -
ioapi.c:102:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | uLong ZCALLBACK fwrite_file_func (opaque, stream, buf, size) | ^ -
ioapi.c:113:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | long ZCALLBACK ftell_file_func (opaque, stream) | ^ -
ioapi.c:122:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | long ZCALLBACK fseek_file_func (opaque, stream, offset, origin) | ^ -
ioapi.c:148:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | int ZCALLBACK fclose_file_func (opaque, stream) | ^ -
ioapi.c:157:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | int ZCALLBACK ferror_file_func (opaque, stream) | ^ -
ioapi.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void fill_fopen_filefunc (pzlib_filefunc_def) | ^ -
unzip.c:171:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | local int unzlocal_getByte(pzlib_filefunc_def,filestream,pi) | ^ -
unzip.c:201:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | local int unzlocal_getShort (pzlib_filefunc_def,filestream,pX) | ^ -
unzip.c:229:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX) | ^ -
unzip.c:262:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | local int strcmpcasenosensitive_internal (fileName1,fileName2) | ^ -
unzip.c:305:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | extern int ZEXPORT unzStringFileNameCompare (fileName1,fileName2,iCaseSensitivity) | ^ -
unzip.c:331:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | local uLong unzlocal_SearchCentralDir(pzlib_filefunc_def,filestream) | ^ -
unzip.c:397:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | extern unzFile ZEXPORT unzOpen2 (path, pzlib_filefunc_def) | ^ -
unzip.c:500:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | extern unzFile ZEXPORT unzOpen (path) | ^ -
unzip.c:511:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | extern int ZEXPORT unzClose (file) | ^ -
unzip.c:532:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | extern int ZEXPORT unzGetGlobalInfo (file,pglobal_info) | ^ -
unzip.c:548:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | local void unzlocal_DosDateToTmuDate (ulDosDate, ptm) | ^ -
unzip.c:577:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | local int unzlocal_GetCurrentFileInfoInternal (file, | ^ -
unzip.c:613:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 613 | else if (uMagic!=0x02014b50) | ^ -
unzip.c:693:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 693 | else | ^ -
unzip.c:718:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] 718 | else | ^ -
unzip.c:744:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | extern int ZEXPORT unzGetCurrentFileInfo (file, | ^ -
unzip.c:768:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | extern int ZEXPORT unzGoToFirstFile (file) | ^ -
unzip.c:790:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | extern int ZEXPORT unzGoToNextFile (file) | ^ -
unzip.c:823:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | extern int ZEXPORT unzLocateFile (file, szFileName, iCaseSensitivity) | ^ -
unzip.c:902:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | extern int ZEXPORT unzGetFilePos(file, file_pos) | ^ -
unzip.c:920:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | extern int ZEXPORT unzGoToFilePos(file, file_pos) | ^ -
unzip.c:981:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 981 | else if (uMagic!=0x04034b50) | ^ -
unzip.c:956:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | local int unzlocal_CheckCurrentFileCoherencyHeader (s,piSizeVar, | ^ -
unzip.c:1046:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | extern int ZEXPORT unzOpenCurrentFile3 (file, method, level, raw, password) | ^ -
unzip.c:1188:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | extern int ZEXPORT unzOpenCurrentFile (file) | ^ -
unzip.c:1194:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | extern int ZEXPORT unzOpenCurrentFilePassword (file, password) | ^ -
unzip.c:1201:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | extern int ZEXPORT unzOpenCurrentFile2 (file,method,level,raw) | ^ -
unzip.c:1220:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | extern int ZEXPORT unzReadCurrentFile (file, buf, len) | ^ -
unzip.c:1238:46: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1238 | if ((pfile_in_zip_read_info->read_buffer == NULL)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
unzip.c:1370:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | extern z_off_t ZEXPORT unztell (file) | ^ -
unzip.c:1390:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | extern int ZEXPORT unzeof (file) | ^ -
unzip.c:1423:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1423 | extern int ZEXPORT unzGetLocalExtrafield (file,buf,len) | ^ -
unzip.c:1474:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | extern int ZEXPORT unzCloseCurrentFile (file) | ^ -
unzip.c:1517:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | extern int ZEXPORT unzGetGlobalComment (file, szComment, uSizeBuf) | ^