Snippets for astrolog 8.00 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/w1faxva43m63v9224yjgv46p9gmwm6qz-astrolog-8.00.drv.
-
atlas.cpp:940:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 940 | fgets(szLine, cchSzMax, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
atlas.cpp:1080:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1080 | fgets(szLine, cchSzMax, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
atlas.cpp:1108:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1108 | fgets(szLine, cchSzMax, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
atlas.cpp:1247:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1247 | fgets(szLine, cchSzMax, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
atlas.cpp:1275:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1275 | fgets(szLine, cchSzMax, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
atlas.cpp:1403:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1403 | fgets(szLine, cchSzMax, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
atlas.cpp:1002:23: warning: '%s' directive writing up to 254 bytes into a region of size 80 [-Wformat-overflow=] 1002 | sprintf(szAbb, "%s", pch); | ^~ -
atlas.cpp:1178:65: warning: '%s' directive writing up to 254 bytes into a region of size between 171 and 189 [-Wformat-overflow=] 1178 | "Day operator not >= or <= in entry %d of rule %d: '%s'\n", | ^~ -
atlas.cpp:1171:58: warning: '%s' directive writing up to 254 bytes into a region of size between 178 and 196 [-Wformat-overflow=] 1171 | "Bad Day==X of week in entry %d of rule %d: '%s'\n", j, i, pchT); | ^~ -
atlas.cpp:1160:59: warning: '%s' directive writing up to 254 bytes into a region of size between 177 and 195 [-Wformat-overflow=] 1160 | "Bad lastDay of week in entry %d of rule %d: '%s'\n", j, i, pchT); | ^~ -
atlas.cpp:1135:64: warning: '%s' directive writing up to 254 bytes into a region of size between 187 and 205 [-Wformat-overflow=] 1135 | "Zone rule error: Bad month in entry %d of rule %d: '%s'\n", | ^~ -
atlas.cpp:1086:49: warning: '%s' directive writing up to 254 bytes into a region of size between 221 and 230 [-Wformat-overflow=] 1086 | sprintf(szErr, "Zone rule error: Rule %d (%s) is too long a string, " | ^~ 1087 | "which exceeds string length limit of %d\n", 1088 | i, szLine, cchSzZon-1); | ~~~~~~ -
atlas.cpp:1257:60: warning: '%s' directive writing up to 254 bytes into a region of size between 217 and 219 [-Wformat-overflow=] 1257 | sprintf(szErr, "Zone change error: Zone %d unknown: '%s'\n", i, szLine); | ^~ ~~~~~~ -
atlas.cpp:1304:71: warning: '%s' directive writing up to 254 bytes into a region of size between 189 and 200 [-Wformat-overflow=] 1304 | "Zone change error: Unknown rule in entry %d of zone %d: '%s'\n", | ^~ -
atlas.cpp:1419:63: warning: '%s' directive writing up to 254 bytes into a region of size between 207 and 216 [-Wformat-overflow=] 1404 | for (pch = szFrom = szLine; *pch > ' '; pch++) | ~~~~~~ -
atlas.cpp:1431:61: warning: '%s' directive writing up to 254 bytes into a region of size between 209 and 218 [-Wformat-overflow=] 1431 | sprintf(szErr, "Zone link error: Link %d to unknown: '%s'\n", i, szTo); | ^~ -
calc.cpp:2479:23: warning: '%s' directive writing up to 254 bytes into a region of size 253 [-Wformat-overflow=] 2479 | sprintf(szPath, ".%s%s", PATH_SEPARATOR, szExe); | ^~ ~~~~~ -
calc.cpp:2493:57: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 2493 | sprintf2(SO(szPath + CchSz(szPath), szPath), "%s%s", PATH_SEPARATOR, | ^ -
charts0.cpp:107:32: warning: '%s' directive writing up to 79 bytes into a region of size 64 [-Wformat-overflow=] 107 | sprintf(sz, "** %s version %s%s **", szAppName, szVersionCore, szT); | ^~ ~~~ -
charts0.cpp:1301:20: warning: '%s' directive writing up to 79 bytes into a region of size 78 [-Wformat-overflow=] 1301 | sprintf(sz, " (%s)\n", szGen); PrintSz(sz); | ^~ ~~~~~ -
charts1.cpp:756:35: warning: '%s' directive writing up to 79 bytes into a region of size 67 [-Wformat-overflow=] 756 | sprintf(sz, "UT: %s, Sid.T: %s", SzTim(Tim + GetOffsetCI(&ciMain)), szT); | ^~ ~~~ -
charts1.cpp:1392:23: warning: '%s' directive writing up to 79 bytes into a region of size 74 [-Wformat-overflow=] 1392 | sprintf(sz, "\nBody %s%sAltitude", szFormat, szFormat); PrintSz(sz); | ^~ ~~~~~~~~ -
charts1.cpp:1396:27: warning: '%s' directive writing up to 79 bytes into a region of size 69 [-Wformat-overflow=] 1396 | sprintf(sz, "Azi. Vector%s", szFormat); PrintSz(sz); | ^~ ~~~~~~~~ -
charts1.cpp:1398:31: warning: '%s' directive writing up to 79 bytes into a region of size between 64 and 66 [-Wformat-overflow=] 1398 | sprintf(sz, " %s Vector%s%s Moon Vector", | ^~ 1399 | us.objCenter != oSun ? "Sun" : "Earth", szFormat, szFormat); | ~~~~~~~~ -
charts1.cpp:1522:24: warning: '%s' directive writing up to 79 bytes into a region of size 78 [-Wformat-overflow=] 1522 | sprintf(sz, " %s\n", es.sz); PrintSz(sz); | ^~ ~~~~~ -
charts1.cpp:1546:18: warning: '%s' directive writing up to 79 bytes into a region of size between 12 and 249 [-Wformat-overflow=] 1546 | "%s%sX axis%s%s %s%sY axis%s%s %s%sZ axis%s%s %s%sLength\n", | ^~ 1547 | sz1, sz1, sz1, sz1, sz1, sz1, sz1, sz1, sz1, sz1, sz1, sz1, sz1, sz1); | ~~~ -
charts3.cpp:1794:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1794 | fgets(szLine, cchSzLine, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -
charts3.cpp:1796:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1796 | fgets(szLine, cchSzLine, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -
charts3.cpp:1806:12: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1806 | fgets(szLine, cchSzLine, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -
charts3.cpp:1871:27: warning: '%s' directive writing up to 79 bytes into a region of size 73 [-Wformat-overflow=] 1871 | sprintf(sz, "over a %s period", szT); | ^~ ~~~ -
general.cpp:2237:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'dword' {aka 'long unsigned int'} [-Wformat=] 2237 | sprintf(szCol, "#%06x", Rgb(RgbB(ki), RgbG(ki), RgbR(ki))); | ~~~^ | | | unsigned int | %06lx -
general.cpp:2255:25: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'dword' {aka 'long unsigned int'} [-Wformat=] 2255 | sprintf(szCol, "#%06x", Rgb(RgbB(ki), RgbG(ki), RgbR(ki))); | ~~~^ | | | unsigned int | %06lx -
general.cpp:2286:23: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'dword' {aka 'long unsigned int'} [-Wformat=] 2286 | sprintf(szCol, "#%06x", Rgb(RgbB(kv), RgbG(kv), RgbR(kv))); | ~~~^ | | | unsigned int | %06lx -
general.cpp:1751:23: warning: '%15.15f' directive writing between 15 and 326 bytes into a region of size 16 [-Wformat-overflow=] 1751 | sprintf(szZod, "%15.15f", deg); | ^~~~~~~ -
general.cpp:1765:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1765 | sprintf(szZod, "%2d%.4s%d", sign+1, szNakshatra[sign + 1], d/10 + 1); | ^ -
general.cpp:1772:38: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1772 | sprintf(&szZod[7], ".%04d%.3s", d%10000, | ^ -
general.cpp:1919:26: warning: '%02d' directive writing between 2 and 3 bytes into a region of size between 1 and 7 [-Wformat-overflow=] 1919 | sprintf(szHMS, "%c%d:%02d:%02d", ch, hr, min, sec); | ^~~~ -
general.cpp:1917:26: warning: '%02d' directive writing between 2 and 3 bytes into a region of size between 1 and 7 [-Wformat-overflow=] 1917 | sprintf(szHMS, "%c%d:%02d", ch, hr, min); | ^~~~ -
general.cpp:1991:32: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 10 [-Wformat-overflow=] 1991 | sprintf(szTim, "%2d:%02d:%02d.%03d%cm", | ^~~~ -
general.cpp:1988:32: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 10 [-Wformat-overflow=] 1988 | sprintf(szTim, "%2d:%02d:%02d%cm", | ^~~~ -
general.cpp:1986:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 1986 | sprintf(szTim, "%2d:%02d%cm", Mod12(hr), min, hr < 12 ? 'a' : 'p'); | ^ -
general.cpp:1983:32: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 1 and 10 [-Wformat-overflow=] 1983 | sprintf(szTim, "%2d:%02d:%02d.%03d", hr, min, sec, mil); | ^~~~ -
general.cpp:1981:32: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 1 and 10 [-Wformat-overflow=] 1981 | sprintf(szTim, "%2d:%02d:%02d", hr, min, sec); | ^~~~ -
general.cpp:1973:31: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 10 [-Wformat-overflow=] 1973 | sprintf(szTim, "%02d:%02d:%02d %cM", | ^~~~ -
general.cpp:2022:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 2022 | sprintf(szZon, "%d%c", (int)RAbs(zon), zon < 0.0 ? 'E' : 'W'); | ^~ -
general.cpp:2024:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] 2024 | sprintf(szZon, "%d:%02d%c", (int)RAbs(zon), (int)(RFract(RAbs(zon))*60.0+ | ^~ -
general.cpp:2168:39: warning: '%c' directive writing 1 byte into a region of size 0 [-Wformat-overflow=] 2168 | sprintf(szLoc, "%12.8f%c%12.8f%c", | ^~ -
general.cpp:2157:62: warning: '.' directive writing 1 byte into a region of size between 0 and 3 [-Wformat-overflow=] 2157 | sprintf(szLoc, "%3.0f%c%02d'%02d.%03d%3.0f%c%02d'%02d.%03d", | ^ -
general.cpp:2143:33: warning: '%13.9f' directive writing between 13 and 320 bytes into a region of size between 0 and 11 [-Wformat-overflow=] 2143 | sprintf(szLoc, "%13.9f%c%13.9f%c", | ^~~~~~ -
general.cpp:2132:60: warning: '%02d' directive writing between 2 and 3 bytes into a region of size between 0 and 4 [-Wformat-overflow=] 2132 | sprintf(szLoc, "%3.0f%c%02d'%02d.%03d%c%3.0f%c%02d'%02d.%03d%c", | ^~~~ -
io.cpp:656:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 656 | fgets(szLine, cchSzMax, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
io.cpp:987:8: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 987 | fgets(szLine, cchSzMax, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
io.cpp:1123:10: warning: ignoring return value of 'char* fgets(char*, int, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 1123 | fgets(szLine, cchSzMax, file); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ -
io.cpp:2729:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 2729 | fscanf(file, "%d%d%d", &MM, &DD, &YY); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
io.cpp:2730:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 2730 | fscanf(file, "%lf%lf%lf%lf", &TT, &ZZ, &OO, &AA); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
io.cpp:2767:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 2767 | fscanf(file, "%s%lf%lf%lf", sz, &k, &l, &m); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
io.cpp:2769:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 2769 | fscanf(file, "%s%lf%lf", sz, &k, &l); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
io.cpp:2796:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 2796 | fscanf(file, "%s%lf%lf%lf", sz, &k, &l, &m); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
io.cpp:148:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 148 | sprintf2(S(sz), "%s%c%s", env, chDirSep, szFileT); | ^ -
io.cpp:157:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 157 | sprintf2(S(sz), "%s%c%s", env, chDirSep, szFileT); | ^ -
io.cpp:166:30: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 166 | sprintf2(S(sz), "%s%c%s", env, chDirSep, szFileT); | ^ -
io.cpp:495:22: warning: '%s' directive writing up to 1014 bytes into a region of size 255 [-Wformat-overflow=] 495 | sprintf(sz, "%s %s", sz2, sz1); | ^~ -
io.cpp:497:22: warning: '%s' directive writing up to 1014 bytes into a region of size 255 [-Wformat-overflow=] 497 | sprintf(sz, "%s", sz2); | ^~ -
io.cpp:525:22: warning: '%s' directive writing up to 1014 bytes into a region of size 255 [-Wformat-overflow=] 525 | sprintf(sz, "%s", sz2); | ^~ -
io.cpp:523:22: warning: '%s' directive writing up to 1014 bytes into a region of size 255 [-Wformat-overflow=] 523 | sprintf(sz, "%s, %s", sz1, sz2); | ^~ -
io.cpp:906:24: warning: ', ' directive writing 2 bytes into a region of size between 1 and 80 [-Wformat-overflow=] 906 | sprintf(sz, "%s, %s", szLoc1, szLoc2); | ^~ -
io.cpp:2079:27: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] 2079 | sprintf(szFile, "%s/%s", szDir, pchFile); | ^~ -
io.cpp:2907:18: warning: '%s' directive writing up to 1019 bytes into a region of size between 872 and 889 [-Wformat-overflow=] 2907 | "CENTER='%s'&%s" | ^~ -
placalc.cpp:919:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 919 | fread(&chicoord[n][0], sizeof(word4), 3, chironfp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
placalc.cpp:935:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 935 | fread(&ascoord[n][0][0], sizeof(word4), 12, asterfp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
placalc.cpp:952:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 952 | fread(&icoord[n][0][0], sizeof(word4), 15, outerfp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
xcharts0.cpp:233:37: warning: '%s' directive writing up to 79 bytes into a region of size 61 [-Wformat-overflow=] 233 | sprintf(sz, "Special: Delta-T = %s", szT); | ^~ ~~~