>>> Building on exopi-3 under misc/astrolog BDEPENDS = [archivers/unzip] DIST = [misc/astrolog:ast71src.zip;misc/astrolog:ast71src-astephem.zip] FULLPKGNAME = astrolog-7.10p0 Avoided depends for unzip-6.0p17 distfiles size=38192014 >>> Running build in misc/astrolog at 1735132940.85 ===> misc/astrolog ===> Building from scratch astrolog-7.10p0 ===> astrolog-7.10p0 depends on: unzip-* -> unzip-6.0p17 ===> Verifying specs: X11 c m ===> found X11.18.2 c.100.3 m.10.1 ===> Checking files for astrolog-7.10p0 `/exopi-cvs/ports/distfiles/ast71src.zip' is up to date. `/exopi-cvs/ports/distfiles/ast71src-astephem.zip' is up to date. >> (SHA256) all files: OK ===> Extracting for astrolog-7.10p0 ===> Patching for astrolog-7.10p0 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 26. done ===> Applying OpenBSD patch patch-astrolog_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: astrolog.h |--- astrolog.h.orig |+++ astrolog.h -------------------------- Patching file astrolog.h using Plan A... Hunk #1 succeeded at 159. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for astrolog-7.10p0 ===> Configuring for astrolog-7.10p0 ===> Building for astrolog-7.10p0 c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c astrolog.cpp astrolog.cpp:1493:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (i = (ch1 == 'd') + 2*(ch1 == 'm') + 3*(ch1 == 'y') + 4*(ch1 == 'Y')) ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ astrolog.cpp:1493:13: note: place parentheses around the assignment to silence this warning if (i = (ch1 == 'd') + 2*(ch1 == 'm') + 3*(ch1 == 'y') + 4*(ch1 == 'Y')) ^ ( ) astrolog.cpp:1493:13: note: use '==' to turn this assignment into an equality comparison if (i = (ch1 == 'd') + 2*(ch1 == 'm') + 3*(ch1 == 'y') + 4*(ch1 == 'Y')) ^ == 1 warning generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c atlas.cpp atlas.cpp:1518:50: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (pch1 = szCity, pch2 = (char *)szIn; *pch1 = *pch2; pch1++, pch2++) ~~~~~~^~~~~~~ atlas.cpp:1518:50: note: place parentheses around the assignment to silence this warning for (pch1 = szCity, pch2 = (char *)szIn; *pch1 = *pch2; pch1++, pch2++) ^ ( ) atlas.cpp:1518:50: note: use '==' to turn this assignment into an equality comparison for (pch1 = szCity, pch2 = (char *)szIn; *pch1 = *pch2; pch1++, pch2++) ^ == 1 warning generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c calc.cpp calc.cpp:1643:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else if (fFlip ? i < j : i > j) { ^ calc.cpp:1677:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ calc.cpp:2412:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (*pch = pch[2]) ~~~~~^~~~~~~~ calc.cpp:2412:19: note: place parentheses around the assignment to silence this warning while (*pch = pch[2]) ^ ( ) calc.cpp:2412:19: note: use '==' to turn this assignment into an equality comparison while (*pch = pch[2]) ^ == 3 warnings generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c charts0.cpp charts0.cpp:205:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (ch = *sz) { ~~~^~~~~ charts0.cpp:205:13: note: place parentheses around the assignment to silence this warning while (ch = *sz) { ^ ( ) charts0.cpp:205:13: note: use '==' to turn this assignment into an equality comparison while (ch = *sz) { ^ == 1 warning generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c charts1.cpp charts1.cpp:840:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = grid->n[j][i]) { ~~^~~~~~~~~~~~~~~ charts1.cpp:840:15: note: place parentheses around the assignment to silence this warning if (k = grid->n[j][i]) { ^ ( ) charts1.cpp:840:15: note: use '==' to turn this assignment into an equality comparison if (k = grid->n[j][i]) { ^ == charts1.cpp:1605:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (j = 1; sz[j] = sz[j+11]; j++) ~~~~~~^~~~~~~~~~ charts1.cpp:1605:27: note: place parentheses around the assignment to silence this warning for (j = 1; sz[j] = sz[j+11]; j++) ^ ( ) charts1.cpp:1605:27: note: use '==' to turn this assignment into an equality comparison for (j = 1; sz[j] = sz[j+11]; j++) ^ == 2 warnings generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c charts2.cpp charts2.cpp:300:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (k = grid->n[i][j]) { ~~^~~~~~~~~~~~~~~ charts2.cpp:300:15: note: place parentheses around the assignment to silence this warning if (k = grid->n[i][j]) { ^ ( ) charts2.cpp:300:15: note: use '==' to turn this assignment into an equality comparison if (k = grid->n[i][j]) { ^ == charts2.cpp:902:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (us.fProgress = fProg) { ~~~~~~~~~~~~~^~~~~~~ charts2.cpp:902:20: note: place parentheses around the assignment to silence this warning if (us.fProgress = fProg) { ^ ( ) charts2.cpp:902:20: note: use '==' to turn this assignment into an equality comparison if (us.fProgress = fProg) { ^ == 2 warnings generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c charts3.cpp charts3.cpp:215:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (us.fProgress = fProg) { ~~~~~~~~~~~~~^~~~~~~ charts3.cpp:215:22: note: place parentheses around the assignment to silence this warning if (us.fProgress = fProg) { ^ ( ) charts3.cpp:215:22: note: use '==' to turn this assignment into an equality comparison if (us.fProgress = fProg) { ^ == charts3.cpp:384:13: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ charts3.cpp:557:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (us.fProgress = fProg) { ~~~~~~~~~~~~~^~~~~~~ charts3.cpp:557:22: note: place parentheses around the assignment to silence this warning if (us.fProgress = fProg) { ^ ( ) charts3.cpp:557:22: note: use '==' to turn this assignment into an equality comparison if (us.fProgress = fProg) { ^ == charts3.cpp:867:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (us.fProgress = fProg) { ~~~~~~~~~~~~~^~~~~~~ charts3.cpp:867:22: note: place parentheses around the assignment to silence this warning if (us.fProgress = fProg) { ^ ( ) charts3.cpp:867:22: note: use '==' to turn this assignment into an equality comparison if (us.fProgress = fProg) { ^ == charts3.cpp:940:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, SzDate(ciT.mon, ciT.day, ciT.yea, fFalse)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charts3.cpp:940:17: note: treat the string as an argument to avoid this sprintf(sz, SzDate(ciT.mon, ciT.day, ciT.yea, fFalse)); ^ "%s", 5 warnings generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c data.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c express.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c general.cpp general.cpp:1130:29: warning: implicit conversion from 'int' to 'char' changes value from 176 to -80 [-Wconstant-conversion] ch = us.fAnsiChar > 1 ? 176 : chDeg1; ~ ^~~ general.cpp:1294:32: warning: implicit conversion from 'int' to 'char' changes value from 176 to -80 [-Wconstant-conversion] chDeg = us.fAnsiChar > 1 ? 176 : chDeg1; ~ ^~~ 2 warnings generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c intrpret.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c io.cpp io.cpp:367:61: warning: format string is not a string literal (potentially insecure) [-Wformat-security] szVerCore, szAppName, szVersionCore, DEFAULT_INFOFILE); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:367:61: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:370:60: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "-z %s ", SzZone(us.zonDef)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:370:60: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:377:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security] PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:377:3: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:381:62: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "-zl %s ", SzLocation(us.lonDef, us.latDef)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:381:62: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:384:65: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "-zv %s ", SzElevation(us.elvDef)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:384:65: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:387:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] us.namDef, us.locDef); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:387:28: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:391:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "-Yz %ld ", us.lTimeAddition); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:391:48: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:395:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cs ", ChDashF(us.fSidereal)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:395:52: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:398:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] PrintF(":s "); FormatR(sz, us.rZodiacOffset, 6); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:398:52: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:401:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "-A %d ", us.nAsp); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:401:38: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:406:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security] PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:406:3: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:409:51: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cc3 ", ChDashF(us.fHouse3D)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:409:51: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:412:53: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%ck ", ChDashF(us.fAnsiColor)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:412:53: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:415:42: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":d %d ", us.nDivision); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:415:42: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:418:51: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cb0 ", ChDashF(us.fSeconds)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:418:51: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:421:54: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cb ", ChDashF(us.fEphemFiles)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:421:54: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:424:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":w %d ", us.nWheelRows); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:424:44: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:427:45: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":I %d ", us.nScreenWidth); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:427:45: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:430:44: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "-YQ %d ", us.nScrollRow); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:430:44: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:433:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cYd ", ChDashF(us.fEuroDate)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:433:52: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:436:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cYt ", ChDashF(us.fEuroTime)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:436:52: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:439:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cYv ", ChDashF(us.fEuroDist)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:439:52: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:442:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cYr ", ChDashF(us.fRound)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:442:49: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:445:53: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cYC ", ChDashF(us.fSmartCusp)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:445:53: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:448:53: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cYO ", ChDashF(us.fSmartSave)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:448:53: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:451:50: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cY8 ", ChDashF(us.fClip80)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:451:50: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:454:51: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cYu ", ChDashF(us.fEclipse)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:454:51: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:462:57: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "-Yi%d \"%s\"\n", i, us.rgszPath[i]); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:462:57: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:490:53: warning: format string is not a string literal (potentially insecure) [-Wformat-security] SzNumF(us.fIgnoreSign), SzNumF(us.fIgnoreDir)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:490:53: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:499:64: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 1; i <= 5; i++) { sprintf(sz, " %.0f", rAspOrb[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:499:64: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:501:65: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 6; i <= 11; i++) { sprintf(sz, " %.0f", rAspOrb[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:501:65: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:503:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 12; i <= 18; i++) { sprintf(sz, " %.0f", rAspOrb[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:503:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:507:65: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 0; i <= 10; i++) { sprintf(sz, "%4.0f", rObjOrb[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:507:65: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:509:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 11; i <= 21; i++) { sprintf(sz, "%4.0f", rObjOrb[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:509:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:511:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 22; i <= 33; i++) { sprintf(sz, "%4.0f", rObjOrb[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:511:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:513:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 34; i <= 42; i++) { sprintf(sz, "%4.0f", rObjOrb[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:513:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:515:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%4.0f", rObjOrb[43]); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:515:38: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:519:65: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 0; i <= 10; i++) { sprintf(sz, " %.0f", rObjAdd[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:519:65: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:521:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 11; i <= 21; i++) { sprintf(sz, " %.0f", rObjAdd[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:521:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:523:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 22; i <= 33; i++) { sprintf(sz, " %.0f", rObjAdd[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:523:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:525:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 34; i <= 42; i++) { sprintf(sz, " %.0f", rObjAdd[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:525:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:527:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, " %.0f", rObjAdd[43]); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:527:38: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:531:65: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 0; i <= 10; i++) { sprintf(sz, " %.0f", rObjInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:531:65: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:533:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 11; i <= 21; i++) { sprintf(sz, " %.0f", rObjInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:533:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:535:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 22; i <= 33; i++) { sprintf(sz, " %.0f", rObjInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:535:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:537:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 34; i <= 42; i++) { sprintf(sz, " %.0f", rObjInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:537:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:539:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%.0f", rObjInf[43]); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:539:37: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:544:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.0f", rHouseInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:544:43: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:547:64: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 1; i <= 5; i++) { sprintf(sz, "%4.1f", rAspInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:547:64: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:549:65: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 6; i <= 11; i++) { sprintf(sz, "%4.1f", rAspInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:549:65: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:551:66: warning: format string is not a string literal (potentially insecure) [-Wformat-security] for (i = 12; i <= 18; i++) { sprintf(sz, "%4.1f", rAspInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:551:66: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:556:45: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.0f", rTransitInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:556:45: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:559:45: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.0f", rTransitInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:559:45: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:562:45: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.0f", rTransitInf[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:562:45: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:564:41: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%.0f", rTransitInf[43]); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:564:41: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:569:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] rHouseInf[cSign + 2]); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:569:28: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:573:50: warning: format string is not a string literal (potentially insecure) [-Wformat-security] rHouseInf[cSign + 4], rHouseInf[cSign + 5]); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:573:50: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:578:41: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %d", rgSignRay[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:578:41: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:581:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %d", rgObjRay[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:581:40: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:584:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %d", rgObjRay[i]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:584:40: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:589:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kObjU[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:589:48: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:592:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kObjU[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:592:48: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:595:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kObjU[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:595:48: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:598:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kObjU[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:598:48: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:602:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kAspA[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:602:48: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:605:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kAspA[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:605:48: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:608:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kAspA[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:608:48: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:612:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kElemA[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:612:49: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:615:48: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kRayA[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:615:48: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:618:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kRainbowA[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:618:52: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:621:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] { sprintf(sz, " %.3s", szColor[kMainA[i]]); PrintFSz(); } ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:621:49: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:625:58: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cXm ", ChDashF(gs.fColor)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:625:58: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:627:60: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cXr ", ChDashF(gs.fInverse)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:627:60: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:630:47: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":Xw %d %d ", i, gs.yWin); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:630:47: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:632:47: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":Xs %d ", gs.nScale); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:632:47: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:634:51: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":XS %d ", gs.nScaleText); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:634:51: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:636:63: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cXQ ", ChDashF(gs.fKeepSquare)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:636:63: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:639:59: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cXu ", ChDashF(gs.fBorder)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:639:59: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:642:61: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":Xb%c ", ChUncap(gs.chBmpMode)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:642:61: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:645:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":YXG %04d ", gs.nGlyphs); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:645:49: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:647:52: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":YXg %d ", gs.nGridCell); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:647:52: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:649:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":YXS %.1f ", gs.rspace); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:649:49: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:651:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":YXj %d ", gs.cspace); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:651:49: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:653:50: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":YX7 %d ", gs.nRayWidth); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:653:50: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:655:47: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":YXf %04d ", gs.nFont); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:655:47: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:657:50: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":YXp %d ", gs.nOrient); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:657:50: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:660:49: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, ":YXp0 %s ", SzLength(gs.xInch)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:660:49: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:661:43: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%s ", SzLength(gs.yInch)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:661:43: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:663:61: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "%cX ", ChDashF(us.fGraphics)); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:663:61: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ io.cpp:666:46: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, "\n; %s\n", DEFAULT_INFOFILE); PrintFSz(); ^~~~~~~~~~ ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^~ io.cpp:666:46: note: treat the string as an argument to avoid this ./astrolog.h:1175:34: note: expanded from macro 'PrintFSz' #define PrintFSz() fprintf(file, sz) ^ 90 warnings generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c matrix.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c placalc.cpp In file included from placalc.cpp:54: ./placalc.h:259:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] extern void disturb(register struct kor *, REAL8 *, REAL8 *, REAL8, REAL8, ^~~~~~~~~ placalc.cpp:564:3: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register struct elements *e; ^~~~~~~~~ placalc.cpp:565:3: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] register struct eledata *d; ^~~~~~~~~ placalc.cpp:689:14: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] void disturb(register struct kor *k, REAL8 *al, REAL8 *ar, REAL8 lk, REAL8 rk, ^~~~~~~~~ 4 warnings generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c placalc2.cpp In file included from placalc2.cpp:54: ./placalc.h:259:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] extern void disturb(register struct kor *, REAL8 *, REAL8 *, REAL8, REAL8, ^~~~~~~~~ 1 warning generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c xdata.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c xgeneral.cpp xgeneral.cpp:1351:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (chCmd = ChCap(*sz)) { ~~~~~~^~~~~~~~~~~~ xgeneral.cpp:1351:16: note: place parentheses around the assignment to silence this warning while (chCmd = ChCap(*sz)) { ^ ( ) xgeneral.cpp:1351:16: note: use '==' to turn this assignment into an equality comparison while (chCmd = ChCap(*sz)) { ^ == xgeneral.cpp:1356:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fBlank = (chCmd == 'B')) { ~~~~~~~^~~~~~~~~~~~~~~~ xgeneral.cpp:1356:16: note: place parentheses around the assignment to silence this warning if (fBlank = (chCmd == 'B')) { ^ ( ) xgeneral.cpp:1356:16: note: use '==' to turn this assignment into an equality comparison if (fBlank = (chCmd == 'B')) { ^ == xgeneral.cpp:1363:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fNoupdate = (chCmd == 'N')) { ~~~~~~~~~~^~~~~~~~~~~~~~~~ xgeneral.cpp:1363:19: note: place parentheses around the assignment to silence this warning if (fNoupdate = (chCmd == 'N')) { ^ ( ) xgeneral.cpp:1363:19: note: use '==' to turn this assignment into an equality comparison if (fNoupdate = (chCmd == 'N')) { ^ == 3 warnings generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c xdevice.cpp xdevice.cpp:470:37: warning: data argument not used by format string [-Wformat-extra-args] fprintf(gi.file, szPsFunctions, 6 * PSMUL, 6 * PSMUL); ^ xdevice.cpp:481:37: warning: data argument not used by format string [-Wformat-extra-args] fprintf(gi.file, szPsFunctions, 6 * PSMUL, 6 * PSMUL); ^ 2 warnings generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c xcharts0.cpp xcharts0.cpp:829:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (fBlank = (chCmd == 'b')) ~~~~~~~^~~~~~~~~~~~~~~~ xcharts0.cpp:829:18: note: place parentheses around the assignment to silence this warning if (fBlank = (chCmd == 'b')) ^ ( ) xcharts0.cpp:829:18: note: use '==' to turn this assignment into an equality comparison if (fBlank = (chCmd == 'b')) ^ == 1 warning generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c xcharts1.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c xcharts2.cpp xcharts2.cpp:1104:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (us.fProgress = fProg) { ~~~~~~~~~~~~~^~~~~~~ xcharts2.cpp:1104:22: note: place parentheses around the assignment to silence this warning if (us.fProgress = fProg) { ^ ( ) xcharts2.cpp:1104:22: note: use '==' to turn this assignment into an equality comparison if (us.fProgress = fProg) { ^ == xcharts2.cpp:1183:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(sz, SzDate(ciT.mon, ciT.day, ciT.yea, fFalse)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xcharts2.cpp:1183:17: note: treat the string as an argument to avoid this sprintf(sz, SzDate(ciT.mon, ciT.day, ciT.yea, fFalse)); ^ "%s", 2 warnings generated. c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c xscreen.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c swecl.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c swedate.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c swehouse.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c swejpl.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c swemmoon.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c swemplan.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c sweph.cpp c++ -O2 -pipe -DDEFAULT_DIR='"/usr/local/share/astrolog"' -I/usr/X11R6/include -Wno-write-strings -Wno-narrowing -Wno-comment -c swephlib.cpp cc -o astrolog astrolog.o atlas.o calc.o charts0.o charts1.o charts2.o charts3.o data.o express.o general.o intrpret.o io.o matrix.o placalc.o placalc2.o xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o swecl.o swedate.o swehouse.o swejpl.o swemmoon.o swemplan.o sweph.o swephlib.o -L/usr/X11R6/lib -lm -lX11 ld: warning: astrolog.cpp(astrolog.o:(Action())): warning: sprintf() is often misused, please use snprintf() ld: warning: calc.cpp(calc.o:(SwissComputeStars(double, int))): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: sweph.cpp(sweph.o:(swecalc(double, int, int, int, double*, char*))): warning: strcat() is almost always misused, please use strlcat() ld: warning: express.cpp(express.o:(FEvalFunction(int, _parameter*, char**))): warning: rand() may return deterministic values, is that what you want? >>> Running package in misc/astrolog at 1735132970.57 ===> misc/astrolog ===> Faking installation for astrolog-7.10p0 /exopi-obj/pobj/astrolog-7.10/bin/install -c -s -m 755 /exopi-obj/pobj/astrolog-7.10/astrolog /exopi-obj/pobj/astrolog-7.10/fake-amd64/usr/local/bin /exopi-obj/pobj/astrolog-7.10/bin/install -d -m 755 /exopi-obj/pobj/astrolog-7.10/fake-amd64/usr/local/share/{doc/,}astrolog /exopi-obj/pobj/astrolog-7.10/bin/install -c -m 644 /exopi-obj/pobj/astrolog-7.10/*.{as,se1,txt} /exopi-obj/pobj/astrolog-7.10/fake-amd64/usr/local/share/astrolog /exopi-obj/pobj/astrolog-7.10/bin/install -c -m 644 /exopi-obj/pobj/astrolog-7.10/*.htm /exopi-obj/pobj/astrolog-7.10/fake-amd64/usr/local/share/doc/astrolog ===> Building package for astrolog-7.10p0 Create /exopi-cvs/ports/packages/amd64/all/astrolog-7.10p0.tgz Creating package astrolog-7.10p0 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|* | 1% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 5% checksumming|**** | 7% checksumming|***** | 8% checksumming|****** | 9% checksumming|****** | 11% checksumming|******* | 12% checksumming|******** | 13% checksumming|********* | 14% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 18% checksumming|************ | 20% checksumming|************* | 21% checksumming|************** | 22% checksumming|************** | 24% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|***************** | 28% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 32% checksumming|******************** | 33% checksumming|********************* | 34% checksumming|********************** | 36% checksumming|********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************* | 41% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 45% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************** | 55% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 59% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|*************************************** | 63% checksumming|*************************************** | 64% checksumming|**************************************** | 66% checksumming|***************************************** | 67% checksumming|****************************************** | 68% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 72% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|*********************************************** | 76% checksumming|*********************************************** | 78% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************** | 82% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|***************************************************** | 87% checksumming|****************************************************** | 88% checksumming|******************************************************* | 89% checksumming|******************************************************* | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 93% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|** | 3% archiving|*** | 5% archiving|**** | 6% archiving|**** | 7% archiving|***** | 7% archiving|***** | 8% archiving|***** | 9% archiving|****** | 9% archiving|****** | 10% archiving|******* | 10% archiving|******* | 11% archiving|******** | 12% archiving|******** | 13% archiving|********* | 14% archiving|********* | 15% archiving|********** | 15% archiving|********** | 16% archiving|************ | 19% archiving|************** | 22% archiving|**************** | 25% archiving|****************** | 29% archiving|******************** | 32% archiving|*********************** | 35% archiving|************************* | 38% archiving|*************************** | 42% archiving|***************************** | 45% archiving|******************************* | 48% archiving|********************************* | 52% archiving|*********************************** | 55% archiving|************************************** | 59% archiving|**************************************** | 62% archiving|****************************************** | 65% archiving|******************************************** | 69% archiving|********************************************** | 72% archiving|************************************************* | 76% archiving|************************************************* | 77% archiving|************************************************** | 78% archiving|*************************************************** | 80% archiving|**************************************************** | 81% archiving|**************************************************** | 82% archiving|***************************************************** | 83% archiving|****************************************************** | 84% archiving|******************************************************* | 86% archiving|******************************************************** | 87% archiving|******************************************************** | 88% archiving|********************************************************* | 89% archiving|********************************************************** | 90% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************** | 97% archiving|*************************************************************** | 98% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/astrolog-7.10p0.tgz >>> Running clean in misc/astrolog at 1735132985.67 ===> misc/astrolog ===> Cleaning for astrolog-7.10p0 >>> Ended at 1735132986.18 max_stuck=0.35/build=29.69/package=15.14/clean=0.55