[Debian-med-packaging] Bug#1016250: parsinsert: FTBFS: ParsInsert.cpp:420:17: error: ‘time’ was not declared in this scope
Lucas Nussbaum
lucas at debian.org
Fri Jul 29 17:22:48 BST 2022
Source: parsinsert
Version: 1.04-11
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220728 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ParsInsert.o ParsInsert.cpp
> ParsInsert.cpp:411:45: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
> 411 | DisplayL("%s\nCommand Line:[%s]\n", VERSION, cmd.c_str());
> | ^~~~~~~
> ParsInsert.cpp:56:82: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
> 56 | #define VERSION APPNAME " Version 1.04 " __DATE__ " " __TIME__
> | ^~~~~~~~
> ParsInsert.cpp:411:45: note: in expansion of macro ‘VERSION’
> 411 | DisplayL("%s\nCommand Line:[%s]\n", VERSION, cmd.c_str());
> | ^~~~~~~
> ParsInsert.cpp:416:25: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
> 416 | DisplayT(USAGE, VERSION, APPNAME);
> | ^~~~~~~
> ParsInsert.cpp:56:82: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
> 56 | #define VERSION APPNAME " Version 1.04 " __DATE__ " " __TIME__
> | ^~~~~~~~
> ParsInsert.cpp:416:25: note: in expansion of macro ‘VERSION’
> 416 | DisplayT(USAGE, VERSION, APPNAME);
> | ^~~~~~~
> In file included from PNode.h:31,
> from PNode.cpp:27:
> ParsimonySet.h: In member function ‘void CParsimonySet::TraceSegments(const char*)’:
> ParsimonySet.h:429:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 429 | DisplayL("%s [", label);
> | ^~~~~~
> ParsimonySet.h:431:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 431 | DisplayL(" %3d", segCounts[k]);
> | ^~~~~~
> ParsimonySet.h:432:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 432 | DisplayL("]\n");
> | ^~~~~
> AttrList.cpp: In member function ‘int CAttrList::AddHex(const char*, long unsigned int)’:
> AttrList.cpp:173:28: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
> 173 | sprintf(buf, "0x%08X", value);
> | ~~~^ ~~~~~
> | | |
> | | long unsigned int
> | unsigned int
> | %08lX
> In file included from ParsInsert.h:29,
> from ParsInsert.cpp:34:
> ParsimonySet.h: In member function ‘void CParsimonySet::TraceSegments(const char*)’:
> ParsimonySet.h:429:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 429 | DisplayL("%s [", label);
> | ^~~~~~
> ParsimonySet.h:431:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 431 | DisplayL(" %3d", segCounts[k]);
> | ^~~~~~
> ParsimonySet.h:432:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 432 | DisplayL("]\n");
> | ^~~~~
> PNode.cpp: In member function ‘void CPTree::Parse(const char*)’:
> PNode.cpp:299:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 299 | DisplayL("Could not process all the chars in NEWICK file\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> PNode.cpp:304:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 304 | DisplayL("Processed %d chars of %d\n", nProcess, totalProcess);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: At global scope:
> ParsInsert.cpp:92:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 92 | char *statsName = "PI_Results.log";
> | ^~~~~~~~~~~~~~~~
> ParsInsert.cpp:93:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 93 | char *logFilename = "ParsInsert.log";
> | ^~~~~~~~~~~~~~~~
> ParsInsert.cpp:94:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 94 | char *treeFilename = "PI_Tree.tree";
> | ^~~~~~~~~~~~~~
> ParsInsert.cpp:95:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 95 | char *seqFilename = "PI_Tree.fasta";
> | ^~~~~~~~~~~~~~~
> Taxonomy.cpp: In member function ‘int CTaxEntry::Display(const char*, int)’:
> Taxonomy.cpp:96:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 96 | DisplayL("%s[%s] %d\n", leader, name.c_str(), count);
> | ^~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int main(int, char**)’:
> ParsInsert.cpp:247:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 247 | DisplayL("%s\n", COPYRIGHT);
> | ^~~~~~
> ParsInsert.cpp:288:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 288 | DisplayL("Setting Tree Floating Point Precision to %d\n", v);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:388:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 388 | DisplayL("invalid command option '%c'\n", argv[i][1]);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:411:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 411 | DisplayL("%s\nCommand Line:[%s]\n", VERSION, cmd.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:415:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 415 | DisplayL("ERROR - missing files to process\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:63:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 63 | #define USAGE "Application:%s\n\n%s [options] <insert_sequences> \n" \
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 64 | " Parsimonious Insertion of Sequences into Given Tree \n\n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 65 | " -m <mask file> - read mask from this file \n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 66 | " -s <tree sequences> - read core tree sequences from this file \n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 67 | " (default: PI_Tree.fasta) \n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 68 | " -t <tree file> - read core tree from this file \n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 69 | " (default: PI_Tree.tree) \n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 70 | " -x <tree taxonomy> - read core tree taxomony from this file \n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 71 | " -o <output file> - output taxonomy for each insert sequence to this file\n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 72 | " (default: PI_Results.log) \n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 73 | " -l[-|<log file>] - create log file (default is ParsInsert.log)\n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 74 | " -n# - number of best matches to display \n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 75 | " -c# - percent threshold cutoff \n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 76 | " -p - print node comments in newick file \n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 77 | " -D# - print branch lengths using # decimal places\n" \
> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 78 | "\n"
> | ~~~~
> ParsInsert.cpp:63:17: note: in definition of macro ‘USAGE’
> 63 | #define USAGE "Application:%s\n\n%s [options] <insert_sequences> \n" \
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:420:17: error: ‘time’ was not declared in this scope
> 420 | start = time(NULL);
> | ^~~~
> ParsInsert.cpp:46:1: note: ‘time’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
> 45 | #include <math.h>
> +++ |+#include <ctime>
> 46 |
> ParsInsert.cpp:424:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 424 | DisplayL(" tree file: %s\n", treeFilename);
> | ^~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:429:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 429 | DisplayL(" tree sequence file: %s\n", seqFilename);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:434:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 434 | DisplayL(" mask file: %s\n", maskName);
> | ^~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:438:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 438 | DisplayT("Cannot open mask file [%s]", maskName);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:447:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 447 | DisplayL(" taxomony index file: %s\n", taxName);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:451:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 451 | DisplayT("Cannot open taxomony index FASTA file [%s]", taxName);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:455:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 455 | DisplayL(" taxomony index file: %d taxa\n", taxonomy->GetCount());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int ParsimonyInsertion()’:
> ParsInsert.cpp:532:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 532 | DisplayL("Reading Newick Tree: [%s]\n", treeFilename);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:533:13: error: ‘time’ was not declared in this scope
> 533 | stage = time(NULL);
> | ^~~~
> ParsInsert.cpp:533:13: note: ‘time’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
> ParsInsert.cpp:537:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 537 | DisplayL("Error accessing Newick Tree file [%s]\n", treeFilename);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:552:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 552 | DisplayL("Found duplicate name: [%s]/n", name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:558:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 558 | DisplayL("Tree Sequence Reading: [%s]\n", seqFilename);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:567:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 567 | DisplayL("Reading sequences for insertion: [%s]\n", files[0]);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:573:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 573 | DisplayL("No insertion sequences found\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:579:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 579 | DisplayL("Checking Taxa Taxonomy\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:581:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 581 | DisplayL("Setting Internal Taxonomy\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:587:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 587 | DisplayL("Setting internal parsimony sequences ...\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from PNode.h:31,
> from SeqList.cpp:27:
> ParsimonySet.h: In member function ‘void CParsimonySet::TraceSegments(const char*)’:
> ParsimonySet.h:429:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 429 | DisplayL("%s [", label);
> | ^~~~~~
> ParsimonySet.h:431:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 431 | DisplayL(" %3d", segCounts[k]);
> | ^~~~~~
> ParsimonySet.h:432:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 432 | DisplayL("]\n");
> | ^~~~~
> ParsInsert.cpp:641:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 641 | DisplayL("Writing Newick tree file: [%s]\n", treename.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:647:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 647 | DisplayL("CalcCost calls[%d] = %d / %d (%d)\n", useCalcCost, nCalcCostFull, nCalcCost,nCalcCost-nCalcCostFull);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:649:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 649 | DisplayL("Insert Time = %d, %d per hour\n", insertTime, 3600 * inserts.size() / insertTime );
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int CheckTreeSequences(CPTree*, CSequenceFile*)’:
> ParsInsert.cpp:674:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 674 | DisplayL("Error accessing Tree Sequencefile [%s]\n", treeSeqfile->fname.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:693:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 693 | DisplayL("ERROR - tree member sequence is not available [%s]\n", name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int CreateParsimonySets(const char*, CPTree*)’:
> ParsInsert.cpp:711:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 711 | DisplayL(" parsimony index file: %s\n", parsName);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:715:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 715 | DisplayT("Cannot open parsimony index FASTA file [%s]", parsName);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:718:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 718 | DisplayL(" parsimony file: %d internal nodes\n", parsimony->GetCount());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:755:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 755 | DisplayL("Calculating internal parsimony sequences ...\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘CPTree* ReadNewickTree(const char*)’:
> ParsInsert.cpp:861:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 861 | Display("Could not open source file: [%s]\n", filename);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:870:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 870 | DisplayT("Opening file: %s\t...", filename);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:897:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 897 | Display("Opening file: %s\tLines:%d", filename, linecount);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:902:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 902 | DisplayT("Parsing Newick file: %s\t...", filename);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int CheckLeafTaxonomy(CPTree*)’:
> ParsInsert.cpp:949:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 949 | DisplayL("%d of %d nodes are missing taxonomy\n\t", n, nodes.size());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:955:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 955 | DisplayL(" %-12.12s%s", node->title.c_str(), (++count%8 == 0 ? "\n\t" :""));
> | ^~~~~~~~~~~~~
> ParsInsert.cpp:957:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 957 | DisplayL("\n");
> | ^~~~
> ParsInsert.cpp: In function ‘int SetInternalTaxonomy(CPTree*)’:
> ParsInsert.cpp:1091:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1091 | DisplayT("\rSetting Internal Taxonomy %d nodes remaining ", nSeqRemaining);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1099:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1099 | DisplayT("\n");
> | ^~~~
> ParsInsert.cpp: In function ‘void FindInsertLocations_Serial(CSequenceFile*, CPTree*, CSequenceFile*, CInsertPosArray&)’:
> ParsInsert.cpp:1113:49: error: ‘time’ was not declared in this scope
> 1113 | time_t start = time(NULL);
> | ^~~~
> ParsInsert.cpp:1113:49: note: ‘time’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
> ParsInsert.cpp:1125:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1125 | DisplayL("**** Sequence is already in core tree: %s\n", seq->name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1132:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1132 | DisplayL("**** Cannot find sequence for %s\n", seq->name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1166:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1166 | DisplayL("Insert [%20s](len=%d) [%5d sites] (%d - %d) [%s]\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1224:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1224 | DisplayL("Insertion of %d sequences in [%d sec]\n", inserts.size(), finish-start+1);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘void FindInsertLocations(CSequenceFile*, CPNode*, CSequenceItem*, CInsertPos*)’:
> ParsInsert.cpp:1244:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1244 | DisplayL("**** Error: could not generate Parsimony Set\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘void FindInsertLocations(CSequenceFile*, CPTree*, CSequenceFile*, CInsertPosArray&)’:
> ParsInsert.cpp:1312:49: error: ‘time’ was not declared in this scope
> 1312 | time_t start = time(NULL);
> | ^~~~
> ParsInsert.cpp:1312:49: note: ‘time’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
> ParsInsert.cpp:1324:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1324 | DisplayL("**** Sequence is already in core tree: %s\n", seq->name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1331:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1331 | DisplayL("**** Cannot find sequence for %s\n", seq->name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1343:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1343 | DisplayL("**** Cannot find sequence taxonomy for %s\n", seq->name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1374:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1374 | DisplayL("Insert [%20s](len=%d) [%5d sites] (%d - %d) [%s]",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1394:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1394 | DisplayL("Insertion of %d sequences in [%d sec]\n", inserts.size(), finish-start+1);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘void BuildScoreMatrix()’:
> ParsInsert.cpp:1432:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1432 | DisplayL("BAD BAD COMPUTER");
> | ^~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int CalcCost_NEW1(CParsimonySet&, CParsimonySet&, int&, int&, int&, int)’:
> ParsInsert.cpp:1443:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1443 | register LPCSTR m = mask;
> | ^
> ParsInsert.cpp:1444:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1444 | register BYTE *p1 = next_pars.data;
> | ^~
> ParsInsert.cpp:1445:34: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1445 | register BYTE *p2 = node_pars.data;
> | ^~
> ParsInsert.cpp:1446:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1446 | register DWORD key;
> | ^~~
> ParsInsert.cpp:1469:25: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1469 | register WORD value = scoreMatrix[key];
> | ^~~~~
> ParsInsert.cpp: In function ‘int CalcCost_ORIG(CParsimonySet&, CParsimonySet&, int&, int&, int&, int)’:
> ParsInsert.cpp:1550:33: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1550 | register LPCSTR m = mask;
> | ^
> ParsInsert.cpp:1558:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1558 | register BYTE *p1 = next_pars.data;
> | ^~
> ParsInsert.cpp:1559:27: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1559 | register BYTE *p2 = node_pars.data;
> | ^~
> ParsInsert.cpp:1565:49: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1565 | register char s1 = *p1;
> | ^~
> ParsInsert.cpp:1566:49: warning: ISO C++17 does not allow ‘register’ storage class specifier [-Wregister]
> 1566 | register char s2 = *p2;
> | ^~
> ParsInsert.cpp: In function ‘int CalcAncestorParsimony(CPTree*)’:
> ParsInsert.cpp:1640:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1640 | DisplayT("Calculating Parsimony ...");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1644:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1644 | DisplayT("*** Cannot calc parsimony, no sequence file loaded");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1649:49: error: ‘time’ was not declared in this scope
> 1649 | time_t start = time(NULL);
> | ^~~~
> ParsInsert.cpp:1649:49: note: ‘time’ is defined in header ‘<ctime>’; did you forget to ‘#include <ctime>’?
> ParsInsert.cpp:1658:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1658 | DisplayL("Applying parsimonious selections back down the tree.\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1660:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1660 | DisplayL("%d nodes were modified\n", changes);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1684:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1684 | DisplayT("\nProcessed %d nodes in %d seconds, %.0f nodes per sec\n", tree->nodeList.size(), delta, npersec);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int ForceNodeParsimony(CPNode*)’:
> ParsInsert.cpp:1709:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1709 | DisplayL("***** Child not found [%s]\n", node->title.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int CalcNodeParsimony(CPNode*)’:
> ParsInsert.cpp:1748:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1748 | DisplayL("***** Child not found [%s]\n", node->title.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1801:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1801 | DisplayT("\rCalcParsimony %d nodes remaining ", nSeqRemaining);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int WriteParsimonySet(CPNode*, CSequenceFile*)’:
> ParsInsert.cpp:1829:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1829 | DisplayT("\r %d nodes remaining to be written ", nSeqRemaining);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘void DisplayInsertLocations(CInsertPosArray&, int)’:
> ParsInsert.cpp:1880:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1880 | DisplayL("======================================================================\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1882:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1882 | DisplayL("\nInsertion of [%s][%5d sites] [%d matches] Taxonomy[%s]:\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1892:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1892 | DisplayL("\tNO MATCHES found\n");
> | ^~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1939:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1939 | DisplayL("%c(%3d%%) %6d (%4d diffs, %4d partials, %4d indels) [%12s][%s]\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1975:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1975 | DisplayL("\nInsertion [%5d sites] [%20.20s] %6d (%4d diffs, %4d partials, %4d indels)\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1989:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1989 | DisplayL("%12.12s\t Seq[%s]\n", marker.c_str(), tax.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1990:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1990 | DisplayL("%12.12s\t [%s]\n", "", diff.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1991:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1991 | DisplayL("%12.12s\t Best[%s]\n", "", taxBest.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:1993:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 1993 | DisplayL("\tFirst[%s]\n", taxFirst.c_str());
> | ^~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘void DisplayBestInsertLocations(CInsertPos*, int)’:
> ParsInsert.cpp:2010:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2010 | DisplayL("======================================================================\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2012:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2012 | DisplayL("\nInsertion of [%s][%5d sites] [%d matches] Taxonomy[%s]:\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2021:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2021 | DisplayL("\tNO MATCHES found\n");
> | ^~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2069:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2069 | DisplayL("%c(%3d%%) %6d (%4d diffs, %4d partials, %4d indels) [%12s][%s]\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2104:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2104 | DisplayL("\nInsertion [%5d sites] [%20.20s] %6d (%4d diffs, %4d partials, %4d indels)\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2118:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2118 | DisplayL("%12.12s\t Seq[%s]\n", marker.c_str(), tax.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2119:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2119 | DisplayL("%12.12s\t [%s]\n", "", diff.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2120:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2120 | DisplayL("%12.12s\t Best[%s]\n", "", taxBest.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2122:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2122 | DisplayL("\tFirst[%s]\n", taxFirst.c_str());
> | ^~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘void DisplayRankCounts(const char*, int (*)[4])’:
> ParsInsert.cpp:2134:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2134 | DisplayL("\n%s\n _________Precision________ __________Recall__________\n", header);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2141:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2141 | DisplayL("\t%10.10s: %8d %8d (%6.2f%%) %8d %8d (%6.2f%%)\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘void OutputInsertLocations(CInsertPosArray&, int)’:
> ParsInsert.cpp:2182:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2182 | DisplayL("======================================================================\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2183:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2183 | DisplayL("\nInsertion: [%20.20s] [%5d sites]\n", name.c_str(), inserts[i]->nSites);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2187:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2187 | DisplayL("\tNO MATCHES found\n");
> | ^~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2231:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2231 | DisplayL("\t\t%5d [%5f] [%s][%s]\n", iterB->score, dist, iterB->node->title.c_str(), iterB->tax.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2261:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2261 | DisplayL("\t\t%5d [%3d%%] [%s][%s]\n", iterB->score, per, iterB->node->title.c_str(), iterB->tax.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2265:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2265 | DisplayL("%1d (%3d%%) %6d (%4d diffs, %4d partials, %4d indels) [%12s]%c[%s]\n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2306:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2306 | DisplayL("\t %6d (%4d diffs, %4d partials, %4d indels) [%s] \n",
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2324:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2324 | DisplayL("%18s[%s]\n", leader.c_str(), taxVoteList[knox].c_str());
> | ^~~~~~~~~~~~
> ParsInsert.cpp:2331:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2331 | DisplayL("%18s[%s]\n", leader.c_str(), taxBest.c_str());
> | ^~~~~~~~~~~~
> ParsInsert.cpp:2353:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2353 | DisplayL("no assignment (%d%% < %d%%)", per, scoreThresh);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2363:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2363 | DisplayL(" Correct Taxonomy:[%s]\n", taxCorrect.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2407:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2407 | DisplayL("Taxonomies List:\n");
> | ^~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int BuildInsertTree(CTreeInserts*, CPTree*)’:
> ParsInsert.cpp:2647:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2647 | DisplayL("[%s] at %d%% does not meet threshold (%d%%)\n", in->seq->name.c_str(), score, 100-scoreThresh);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int SetMyTaxonomy(CPNode*)’:
> ParsInsert.cpp:2804:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2804 | DisplayL("No Taxnomy for [%s][%s]\n", name.c_str(), child->title.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2810:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2810 | DisplayL("No Taxnomy for [%s][%s]\n", name.c_str(), child->title.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:2834:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 2834 | DisplayL("No Taxnomy for [%s][%s]\n", name.c_str(), node->title.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> SeqList.cpp: In member function ‘int CSequenceFile::ReadSequenceIndexFile(const char*)’:
> SeqList.cpp:490:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 490 | DisplayT("Loading sequence %d [%s]\n", count, name);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> SeqList.cpp:492:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 492 | DisplayT("Loading sequence %d\n", count);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> SeqList.cpp:496:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 496 | DisplayT("Loaded %d sequences from [%s]\n", count, filename);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘double ComparePosition(const char*, CPNode*, CPTree*, CPTree*)’:
> ParsInsert.cpp:3011:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 3011 | DisplayL("Could not find core position for [%s][%s]\n", core1.c_str(), core2.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> SeqList.cpp: In member function ‘int CSequenceFile::ReadTaxonomyFile()’:
> SeqList.cpp:529:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 529 | DisplayT("Loading sequence %d [%s]\n", seqCount, seq->name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> SeqList.cpp:531:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 531 | DisplayT("Loading sequence %d\n", seqCount);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘void ComparePositions(CInsertPosArray&, CPTree*, CPTree*)’:
> ParsInsert.cpp:3036:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 3036 | DisplayL("======================================================================\n");
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:3037:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 3037 | DisplayL("\nDistance to Insertion: [%20.20s] [%5d sites]\n", name.c_str(), inserts[i]->best.list.size());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> SeqList.cpp: In member function ‘int CSequenceFile::ReadSequenceFile(int)’:
> SeqList.cpp:565:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 565 | DisplayT("Loading sequence %d [%s]\n", seqCount, seq->name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:3041:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 3041 | DisplayL("\tNO MATCHES found for [%s]\n", name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:3054:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 3054 | DisplayL("\tDistance error from [%20.20s] = %d\n", pname.c_str(), dist);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> SeqList.cpp:580:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 580 | DisplayL("Duplicate sequence found [%s]\n", seq->name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> SeqList.cpp:605:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 605 | DisplayT("Loading sequence %d [%s]\n", seqCount, seq->name.c_str());
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp: In function ‘int FullTree_Initialization()’:
> ParsInsert.cpp:3069:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 3069 | DisplayL("Reading Newick Tree: [%s]\n", fullTreeName);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:3073:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 3073 | DisplayL("Error accessing Newick Tree file [%s]\n", fullTreeName);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ParsInsert.cpp:3077:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
> 3077 | DisplayL("Newick Tree Read Completed: %d taxa\n", (fullTree->nodeList.size()+1)/2);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> SeqList.cpp: In member function ‘const char* CSequenceItem::ReadSeqHeader(FILE*)’:
> SeqList.cpp:202:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 202 | fgets(buffer, sizeof(buffer)-1, f);
> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> SeqList.cpp: In member function ‘const char* CSequenceItem::ReadSeqData(FILE*)’:
> SeqList.cpp:229:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
> 229 | fgets(buffer, sizeof(buffer)-1, f);
> | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> make[2]: *** [makefile:19: ParsInsert.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2022/07/28/parsinsert_1.04-11_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220728;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220728&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Debian-med-packaging
mailing list