Snippets for magic 8.3.681 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/a5r6z41s5m3y2wzvrz5xk31r3cha15q7-magic-vlsi-8.3.681.drv.
-
CmdWizard.c:287:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 287 | fprintf(outf, " layer %d: %d\n", i, | ~^ | | | int | %ld 288 | (long)ttotal * (long)sizeof(Tile)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int -
CmdWizard.c:312:50: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 312 | fprintf(outf, " layer %d: %d\n", i, | ~^ | | | int | %ld 313 | (long)ttotal * (long)sizeof(Tile)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int -
defWrite.c:1440:55: warning: '%.10g' directive output may be truncated writing between 1 and 17 bytes into a region of size between 5 and 21 [-Wformat-truncation=] 1440 | snprintf(viaName, (size_t)24, "_%.10g_%.10g", | ^~~~~ -
defWrite.c:1507:59: warning: '%.10g' directive output may be truncated writing between 1 and 17 bytes into a region of size between 5 and 21 [-Wformat-truncation=] 1507 | snprintf(viaName, (size_t)24, "_%.10g_%.10g", | ^~~~~ -
CIFsee.c:507:18: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat=] 507 | TxPrintf("%s Area = %"DLONG_PREFIX"d CIF units^2\n", doBox ? "Cursor Box" : | ^~~~~~~~~~~~~ 508 | "Cell", btotal); | ~~~~~~ | | | long long int -
CIFsee.c:509:18: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=] 509 | TxPrintf("Layer Bounding Area = %"DLONG_PREFIX"d CIF units^2\n", atotal); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | long long int -
CIFsee.c:510:18: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=] 510 | TxPrintf("Layer Total Area = %"DLONG_PREFIX"d CIF units^2\n", cstats.coverage); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long long int -
runstats.c:213:50: warning: '%02ld' directive output may be truncated writing between 2 and 20 bytes into a region of size between 0 and 41 [-Wformat-truncation=] 213 | snprintf(buf, (size_t)50, "%ld:%02ld.%ld %ld:%02ld.%ld", | ^~~~~