##############################################################################
##############################################################################
###
### Running command:
###
### /home/biocbuild/bbs-3.21-bioc/R/bin/R CMD INSTALL XDE
###
##############################################################################
##############################################################################
* installing to library ‘/home/biocbuild/bbs-3.21-bioc/R/site-library’
* installing *source* package ‘XDE’ ...
** using staged installation
** libs
using C compiler: ‘gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0’
using C++ compiler: ‘g++ (Ubuntu 13.2.0-23ubuntu4) 13.2.0’
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c Cholesky.cpp -o Cholesky.o
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c Matrix_v2.cpp -o Matrix_v2.o
Matrix_v2.cpp: In function ‘void matrixMult(const std::vector<std::vector<double> >&, const std::vector<double>&, std::vector<double>&)’:
Matrix_v2.cpp:244:7: warning: unused variable ‘k’ [-Wunused-variable]
244 | int k = 1;
| ^
Matrix_v2.cpp:246:9: warning: unused variable ‘j’ [-Wunused-variable]
246 | int i,j,r;
| ^
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c Potential_v2.cpp -o Potential_v2.o
Potential_v2.cpp: In function ‘double potentialDDeltaStar_HyperInverseWishart(int, const double*, const double*, const double*, const double*, const double*, int, int, const std::vector<std::vector<std::vector<double> > >&, const std::vector<int>&, const std::vector<std::vector<int> >&)’:
Potential_v2.cpp:308:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
308 | for (k = 0; k < UBlocks.size(); k++) {
| ~~^~~~~~~~~~~~~~~~
Potential_v2.cpp:310:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
310 | for (i = 0; i < UBlocks[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~
Potential_v2.cpp:316:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
316 | for (k = 0; k < theGene.size(); k++)
| ~~^~~~~~~~~~~~~~~~
Potential_v2.cpp:321:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
321 | for (i = 0; i < Omega[0].size(); i++)
| ~~^~~~~~~~~~~~~~~~~
Potential_v2.cpp:322:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
322 | for (j = 0; j < UU[first].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~
Potential_v2.cpp:328:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
328 | for (k = 1; k < Omega.size(); k++) {
| ~~^~~~~~~~~~~~~~
Potential_v2.cpp:329:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
329 | for (i = 0; i < oldComponents[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Potential_v2.cpp:330:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
330 | for (j = 0; j < UU[first].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~
Potential_v2.cpp:335:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
335 | for (i = 0; i < Omega[k].size() - oldComponents[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Potential_v2.cpp:336:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
336 | for (j = 0; j < UU[first].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~
Potential_v2.cpp:345:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
345 | for (k = 0; k < Omega.size(); k++) {
| ~~^~~~~~~~~~~~~~
Potential_v2.cpp:347:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
347 | for (i = 0; i < theGene[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~
Potential_v2.cpp:356:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
356 | for (k = 1; k < Omega.size(); k++)
| ~~^~~~~~~~~~~~~~
Potential_v2.cpp:364:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
364 | for (i = 0; i < OmegaSub.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~
Potential_v2.cpp:366:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
366 | for (j = 0; j < OmegaSub[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
Potential_v2.cpp:369:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
369 | for (i = 0; i < USub.size(); i++) {
| ~~^~~~~~~~~~~~~
Potential_v2.cpp:371:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
371 | for (j = 0; j < USub[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~
Potential_v2.cpp:374:41: warning: statement has no effect [-Wunused-value]
374 | if (theGene[k][i] == 1) include == 1;
| ~~~~~~~~^~~~
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c Random_v2.cpp -o Random_v2.o
Random_v2.cpp: In member function ‘int Random::Discrete(const std::vector<double>&)’:
Random_v2.cpp:159:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
159 | for (i = 0; i < prob.size(); i++)
| ~~^~~~~~~~~~~~~
Random_v2.cpp: In member function ‘std::vector<std::vector<double> > Random::CorrelationStandardInverseWishartAlternativeParam(int, double)’:
Random_v2.cpp:512:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
512 | for (i = 0; i < w.size(); i++)
| ~~^~~~~~~~~~
Random_v2.cpp:515:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
515 | for (j = 0; j < w[i].size(); j++)
| ~~^~~~~~~~~~~~~
Random_v2.cpp: In member function ‘std::vector<std::vector<std::vector<double> > > Random::HyperInverseWishart(double, const std::vector<std::vector<std::vector<double> > >&, const std::vector<int>&, const std::vector<std::vector<int> >&)’:
Random_v2.cpp:548:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
548 | for (k = 0; k < D.size(); k++) {
| ~~^~~~~~~~~~
Random_v2.cpp:551:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
551 | for (i = 0; i < Sigma[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~
Random_v2.cpp:557:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
557 | for (i = 0; i < temp.size(); i++)
| ~~^~~~~~~~~~~~~
Random_v2.cpp:558:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
558 | for (j = 0; j < temp[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:571:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
571 | for (k = 1; k < D.size(); k++) {
| ~~^~~~~~~~~~
Random_v2.cpp:585:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
585 | for (i = 0; i < DRR.size(); i++) DRR[i].resize(DRR.size());
| ~~^~~~~~~~~~~~
Random_v2.cpp:586:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
586 | for (i = 0; i < DSS.size(); i++) DSS[i].resize(DSS.size());
| ~~^~~~~~~~~~~~
Random_v2.cpp:587:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
587 | for (i = 0; i < DRS.size(); i++) DRS[i].resize(DSS.size());
| ~~^~~~~~~~~~~~
Random_v2.cpp:588:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
588 | for (i = 0; i < DSR.size(); i++) DSR[i].resize(DRR.size());
| ~~^~~~~~~~~~~~
Random_v2.cpp:590:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
590 | for (i = 0; i < DSS.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:591:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
591 | for (j = 0; j < DSS[i].size(); j++)
| ~~^~~~~~~~~~~~~~~
Random_v2.cpp:594:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
594 | for (i = 0; i < DRR.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:595:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
595 | for (j = 0; j < DRR[i].size(); j++)
| ~~^~~~~~~~~~~~~~~
Random_v2.cpp:598:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
598 | for (i = 0; i < DSR.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:599:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
599 | for (j = 0; j < DSR[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~
Random_v2.cpp:608:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
608 | for (i = 0; i < SigmaSS.size(); i++) {
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:610:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
610 | for (j = 0; j < SigmaSS[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:625:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
625 | for (i = 0; i < DRR.size(); i++) {
| ~~^~~~~~~~~~~~
Random_v2.cpp:627:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
627 | for (j = 0; j < DRR[i].size(); j++)
| ~~^~~~~~~~~~~~~~~
Random_v2.cpp:675:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
675 | for (i = 0; i < LDSSInverseT.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:677:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
677 | for (j = 0; j < LDSSInverseT[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:693:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
693 | for (i = 0; i < DRR.size(); i++) {
| ~~^~~~~~~~~~~~
Random_v2.cpp:695:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
695 | for (j = 0; j < DSS.size(); j++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:705:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
705 | for (i = 0; i < mean.size(); i++)
| ~~^~~~~~~~~~~~~
Random_v2.cpp:706:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
706 | for (j = 0; j < mean[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:726:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
726 | for (i = 0; i < SigmaSR.size(); i++) {
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:728:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
728 | for (j = 0; j < SigmaSR[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:740:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
740 | for (i = 0; i < SigmaRGivenS.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:741:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
741 | for (j = 0; j < SigmaRGivenS[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:746:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
746 | for (i = 0; i < SigmaSS.size(); i++)
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:747:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
747 | for (j = 0; j < SigmaSS[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:749:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
749 | for (i = 0; i < SigmaRR.size(); i++)
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:750:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
750 | for (j = 0; j < SigmaRR[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:752:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
752 | for (i = 0; i < SigmaSS.size(); i++)
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:753:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
753 | for (j = 0; j < SigmaRR.size(); j++) {
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:760:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
760 | for (i = 0; i < temp7.size(); i++)
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:761:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
761 | for (j = 0; j < temp7[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~
Random_v2.cpp: In member function ‘std::vector<double> Random::GaussianGraphicalModel(const std::vector<double>&, const std::vector<std::vector<std::vector<double> > >&, const std::vector<int>&, const std::vector<std::vector<int> >&)’:
Random_v2.cpp:790:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
790 | for (k = 0; k < UBlocks[k].size(); k++)
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:807:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
807 | for (i = 0; i < vec.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:812:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
812 | for (i = 0; i < vec.size(); i++) {
| ~~^~~~~~~~~~~~
Random_v2.cpp:821:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
821 | for (k = 1; k < Cov.size(); k++) {
| ~~^~~~~~~~~~~~
Random_v2.cpp:834:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
834 | for (i = 0; i < CovSS.size(); i++) CovSS[i].resize(CovSS.size());
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:835:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
835 | for (i = 0; i < CovRR.size(); i++) CovRR[i].resize(CovRR.size());
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:836:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
836 | for (i = 0; i < CovSR.size(); i++) CovSR[i].resize(CovRS.size());
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:837:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
837 | for (i = 0; i < CovRS.size(); i++) CovRS[i].resize(CovSR.size());
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:840:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
840 | for (i = 0; i < CovSS.size(); i++)
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:841:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
841 | for (j = 0; j < CovSS[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~
Random_v2.cpp:844:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
844 | for (i = 0; i < CovRR.size(); i++)
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:845:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
845 | for (j = 0; j < CovRR[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~
Random_v2.cpp:848:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
848 | for (i = 0; i < CovSR.size(); i++)
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:849:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
849 | for (j = 0; j < CovSR[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~
Random_v2.cpp:863:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
863 | for (i = 0; i < CovRGivenS.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:864:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
864 | for (j = 0; j < CovRGivenS[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:877:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
877 | for (i = 0; i < vec.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:884:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
884 | for (i = 0; i < obs.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:889:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
889 | for (i = 0; i < mean.size(); i++)
| ~~^~~~~~~~~~~~~
Random_v2.cpp:894:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
894 | for (i = 0; i < z.size(); i++)
| ~~^~~~~~~~~~
Random_v2.cpp:899:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
899 | for (i = 0; i < obs.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:901:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
901 | for (i = 0; i < z.size(); i++)
| ~~^~~~~~~~~~
Random_v2.cpp:913:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
913 | for (i = 0; i < vec.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:918:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
918 | for (i = 0; i < z.size(); i++)
| ~~^~~~~~~~~~
Random_v2.cpp:923:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
923 | for (i = 0; i < z.size(); i++)
| ~~^~~~~~~~~~
Random_v2.cpp:928:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
928 | for (i = 0; i < mean.size(); i++)
| ~~^~~~~~~~~~~~~
Random_v2.cpp: In member function ‘std::vector<std::vector<double> > Random::MatrixVariateNormal(const std::vector<std::vector<double> >&, const std::vector<std::vector<double> >&, const std::vector<std::vector<std::vector<double> > >&, const std::vector<int>&, const std::vector<std::vector<int> >&)’:
Random_v2.cpp:948:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
948 | for (k = 0; k < UBlocks.size(); k++) {
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:950:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
950 | for (i = 0; i < UBlocks[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:966:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
966 | for (j = 0; j < U[0].size(); j++) {
| ~~^~~~~~~~~~~~~
Random_v2.cpp:968:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
968 | for (i = 0; i < vec.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:973:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
973 | for (i = 0; i < vec.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:976:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
976 | if (j == U[0].size() - 1) first += z.size();
| ~~^~~~~~~~~~~~~~~~~~
Random_v2.cpp:978:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
978 | for (i = 0; i < z.size(); i++)
| ~~^~~~~~~~~~
Random_v2.cpp:994:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
994 | for (k = 1; k < Omega.size(); k++) {
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:1007:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1007 | for (i = 0; i < OmegaSS.size(); i++) OmegaSS[i].resize(OmegaSS.size());
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:1008:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1008 | for (i = 0; i < OmegaRR.size(); i++) OmegaRR[i].resize(OmegaRR.size());
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:1009:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1009 | for (i = 0; i < OmegaSR.size(); i++) OmegaSR[i].resize(OmegaRS.size());
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:1010:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1010 | for (i = 0; i < OmegaRS.size(); i++) OmegaRS[i].resize(OmegaSR.size());
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:1012:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1012 | for (i = 0; i < OmegaSS.size(); i++)
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:1013:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1013 | for (j = 0; j < OmegaSS[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1016:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1016 | for (i = 0; i < OmegaRR.size(); i++)
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:1017:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1017 | for (j = 0; j < OmegaRR[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1020:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1020 | for (i = 0; i < OmegaSR.size(); i++)
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:1021:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1021 | for (j = 0; j < OmegaSR[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1035:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1035 | for (i = 0; i < OmegaRGivenS.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1036:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1036 | for (j = 0; j < OmegaRGivenS[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1048:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1048 | for (j = 0; j < U[0].size(); j++) {
| ~~^~~~~~~~~~~~~
Random_v2.cpp:1050:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1050 | for (i = 0; i < vec.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:1057:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1057 | for (i = 0; i < obs.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:1062:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1062 | for (i = 0; i < mean.size(); i++)
| ~~^~~~~~~~~~~~~
Random_v2.cpp:1067:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1067 | for (i = 0; i < z.size(); i++)
| ~~^~~~~~~~~~
Random_v2.cpp:1070:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1070 | if (j == U[0].size() - 1) first += z.size();
| ~~^~~~~~~~~~~~~~~~~~
Random_v2.cpp:1072:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1072 | for (i = 0; i < obs.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:1074:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1074 | for (i = 0; i < z.size(); i++)
| ~~^~~~~~~~~~
Random_v2.cpp:1086:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1086 | for (j = 0; j < U[k].size(); j++) {
| ~~^~~~~~~~~~~~~
Random_v2.cpp:1088:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1088 | for (i = 0; i < vec.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:1093:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1093 | for (i = 0; i < vec.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:1096:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1096 | if (j == U[k].size() - 1) first += z.size();
| ~~^~~~~~~~~~~~~~~~~~
Random_v2.cpp:1098:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1098 | for (i = 0; i < z.size(); i++)
| ~~^~~~~~~~~~
Random_v2.cpp:1133:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1133 | for (i = 0; i < LT.size(); i++) {
| ~~^~~~~~~~~~~
Random_v2.cpp:1135:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1135 | for (j = 0; j < LT[i].size(); j++)
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:1143:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1143 | for (i = 0; i < U.size(); i++)
| ~~^~~~~~~~~~
Random_v2.cpp:1144:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1144 | for (j = 0; j < U[i].size(); j++)
| ~~^~~~~~~~~~~~~
Random_v2.cpp: In member function ‘double Random::PotentialHyperInverseWishart(double, const std::vector<std::vector<std::vector<double> > >&, const std::vector<int>&, const std::vector<std::vector<int> >&, const std::vector<std::vector<std::vector<double> > >&)’:
Random_v2.cpp:1183:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1183 | for (k = 0; k < D.size(); k++)
| ~~^~~~~~~~~~
Random_v2.cpp:1188:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1188 | for (k = 1; k < D.size(); k++)
| ~~^~~~~~~~~~
Random_v2.cpp:1196:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1196 | for (i = 0; i < DSS.size(); i++) DSS[i].resize(DSS.size());
| ~~^~~~~~~~~~~~
Random_v2.cpp:1197:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1197 | for (i = 0; i < SigmaSS.size(); i++) SigmaSS[i].resize(SigmaSS.size());
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:1199:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1199 | for (i = 0; i < DSS.size(); i++)
| ~~^~~~~~~~~~~~
Random_v2.cpp:1200:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1200 | for (j = 0; j < DSS[i].size(); j++) {
| ~~^~~~~~~~~~~~~~~
Random_v2.cpp: In member function ‘double Random::PotentialGaussianGraphicalModel(const std::vector<double>&, const std::vector<std::vector<std::vector<double> > >&, const std::vector<int>&, const std::vector<std::vector<int> >&, const std::vector<double>&)’:
Random_v2.cpp:1225:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1225 | for (i = 0; i < UU.size(); i++)
| ~~^~~~~~~~~~~
Random_v2.cpp:1232:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1232 | for (k = 0; k < UBlocks.size(); k++)
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:1236:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1236 | for (i = 0; i < Cov[0].size(); i++)
| ~~^~~~~~~~~~~~~~~
Random_v2.cpp:1240:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1240 | for (k = 1; k < Cov.size(); k++) {
| ~~^~~~~~~~~~~~
Random_v2.cpp:1241:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1241 | for (i = 0; i < oldComponents[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1244:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1244 | for (i = 0; i < Cov[k].size() - oldComponents[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1251:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1251 | for (k = 0; k < Cov.size(); k++) {
| ~~^~~~~~~~~~~~
Random_v2.cpp:1258:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1258 | for (k = 1; k < Cov.size(); k++) {
| ~~^~~~~~~~~~~~
Random_v2.cpp:1265:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1265 | for (i = 0; i < CovSub.size(); i++) {
| ~~^~~~~~~~~~~~~~~
Random_v2.cpp:1267:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1267 | for (j = 0; j < CovSub[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~
Random_v2.cpp:1271:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1271 | for (i = 0; i < USub.size(); i++)
| ~~^~~~~~~~~~~~~
Random_v2.cpp: In member function ‘double Random::PotentialMatrixVariateNormal(const std::vector<std::vector<double> >&, const std::vector<std::vector<double> >&, const std::vector<std::vector<double> >&)’:
Random_v2.cpp:1297:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1297 | for (i = 0; i < XT.size(); i++) {
| ~~^~~~~~~~~~~
Random_v2.cpp:1299:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1299 | for (j = 0; j < XT[i].size(); j++)
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:1310:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1310 | for (i = 0; i < temp3.size(); i++)
| ~~^~~~~~~~~~~~~~
Random_v2.cpp: In member function ‘double Random::PotentialMatrixVariateNormal(const std::vector<std::vector<double> >&, const std::vector<std::vector<double> >&, const std::vector<std::vector<std::vector<double> > >&, const std::vector<int>&, const std::vector<std::vector<int> >&, const std::vector<std::vector<double> >&)’:
Random_v2.cpp:1335:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1335 | for (i = 0; i < UU.size(); i++)
| ~~^~~~~~~~~~~
Random_v2.cpp:1336:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1336 | for (j = 0; j < UU[i].size(); j++)
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:1343:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1343 | for (k = 0; k < UBlocks.size(); k++) {
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp:1345:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1345 | for (i = 0; i < UBlocks[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1350:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1350 | for (i = 0; i < Omega[0].size(); i++)
| ~~^~~~~~~~~~~~~~~~~
Random_v2.cpp:1351:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1351 | for (j = 0; j < UU[first].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~
Random_v2.cpp:1355:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1355 | for (k = 1; k < Omega.size(); k++) {
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:1356:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1356 | for (i = 0; i < oldComponents[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1357:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1357 | for (j = 0; j < UU[first].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~
Random_v2.cpp:1360:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1360 | for (i = 0; i < Omega[k].size() - oldComponents[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1361:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1361 | for (j = 0; j < UU[first].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~
Random_v2.cpp:1380:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1380 | for (k = 0; k < Omega.size(); k++)
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:1385:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1385 | for (k = 1; k < Omega.size(); k++)
| ~~^~~~~~~~~~~~~~
Random_v2.cpp:1391:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1391 | for (i = 0; i < OmegaSub.size(); i++) {
| ~~^~~~~~~~~~~~~~~~~
Random_v2.cpp:1393:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1393 | for (j = 0; j < OmegaSub[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~~~~~
Random_v2.cpp:1396:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1396 | for (i = 0; i < USub.size(); i++) {
| ~~^~~~~~~~~~~~~
Random_v2.cpp:1398:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1398 | for (j = 0; j < USub[i].size(); j++)
| ~~^~~~~~~~~~~~~~~~
Random_v2.cpp: In member function ‘std::vector<int> Random::Permutation(int)’:
Random_v2.cpp:1822:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1822 | for (k = 0; k < perm.size(); k++)
| ~~^~~~~~~~~~~~~
Random_v2.cpp: In member function ‘double Random::lnGamma(double)’:
Random_v2.cpp:1847:10: warning: unused variable ‘x’ [-Wunused-variable]
1847 | double x,y,tt,sum;
| ^
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c Rinterface_v2.cpp -o Rinterface_v2.o
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c Structure.cpp -o Structure.o
In file included from Structure.cpp:29:
ReportPotential.h: In constructor ‘ReportPotential::ReportPotential(const std::string&, const std::vector<Potential*>&)’:
ReportPotential.h:32:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
32 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
ReportPotential.h: In constructor ‘ReportPotential::ReportPotential(double*, const std::vector<Potential*>&)’:
ReportPotential.h:48:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
48 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
ReportPotential.h: In member function ‘virtual void ReportPotential::report(const Structure*)’:
ReportPotential.h:69:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
69 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
ReportPotential.h:78:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
78 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
In file included from Structure.cpp:30:
ReportAcceptance.h: In constructor ‘ReportAcceptance::ReportAcceptance(const std::string&, const std::vector<Update*>&)’:
ReportAcceptance.h:32:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
32 | for (i = 0; i < update.size(); i++)
| ~~^~~~~~~~~~~~~~~
ReportAcceptance.h: In constructor ‘ReportAcceptance::ReportAcceptance(double*, const std::vector<Update*>&)’:
ReportAcceptance.h:48:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
48 | for (i = 0; i < update.size(); i++)
| ~~^~~~~~~~~~~~~~~
ReportAcceptance.h: In member function ‘virtual void ReportAcceptance::report(const Structure*)’:
ReportAcceptance.h:67:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
67 | for (i = 0; i < update.size(); i++)
| ~~^~~~~~~~~~~~~~~
ReportAcceptance.h:76:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
76 | for (i = 0; i < update.size(); i++)
| ~~^~~~~~~~~~~~~~~
In file included from ReportProbDelta.h:9,
from Structure.cpp:31:
PotentialSum.h: In constructor ‘PotentialSum::PotentialSum(const std::vector<Potential*>&)’:
PotentialSum.h:30:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
30 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
PotentialSum.h: In destructor ‘virtual PotentialSum::~PotentialSum()’:
PotentialSum.h:41:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
PotentialSum.h: In member function ‘virtual double PotentialSum::potential(Random&) const’:
PotentialSum.h:61:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
61 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
ReportProbDelta.h: In constructor ‘ReportProbDelta::ReportProbDelta(const std::string&, Structure*, int)’:
ReportProbDelta.h:53:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
53 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
ReportProbDelta.h: In constructor ‘ReportProbDelta::ReportProbDelta(double*, Structure*, int)’:
ReportProbDelta.h:85:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
85 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
ReportProbDelta.h: In destructor ‘virtual ReportProbDelta::~ReportProbDelta()’:
ReportProbDelta.h:96:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
96 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
Structure.cpp: In member function ‘void Structure::setParameterValues(std::string&)’:
Structure.cpp:528:8: warning: unused variable ‘c’ [-Wunused-variable]
528 | char c;
| ^
Structure.cpp: In member function ‘void Structure::setNumberOfUpdates(std::string&, std::vector<int>&, std::vector<Update*>&) const’:
Structure.cpp:1642:15: warning: unused variable ‘nRead’ [-Wunused-variable]
1642 | int nRead = sscanf(var1,"%d",&value);
| ^~~~~
Structure.cpp:1668:19: warning: unused variable ‘nRead’ [-Wunused-variable]
1668 | int nRead = sscanf(var2,"%le",&value);
| ^~~~~
Structure.cpp:1579:12: warning: unused variable ‘c’ [-Wunused-variable]
1579 | char c;
| ^
Structure.cpp: In member function ‘ReportDiffexpressed* Structure::setReports(std::string&, int&, std::vector<Potential*>&, std::vector<Update*>&, std::vector<Report*>&, int)’:
Structure.cpp:1728:12: warning: unused variable ‘c’ [-Wunused-variable]
1728 | char c;
| ^
Structure.cpp: In member function ‘ReportDiffexpressed* Structure::setReports(int*, int&, int, char**, std::vector<Potential*>&, std::vector<Update*>&, std::vector<Report*>&, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, int*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, int*, int)’:
Structure.cpp:1971:25: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
1971 | filename.empty();
| ~~~~~~~~~~~~~~^~
In file included from /usr/include/c++/13/string:54,
from Structure.h:4,
from Structure.cpp:5:
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:1983:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
1983 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:1990:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
1990 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:1996:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
1996 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2002:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2002 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2008:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2008 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2014:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2014 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2020:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2020 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2026:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2026 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2032:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2032 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2038:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2038 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2044:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2044 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2050:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2050 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2056:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2056 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2062:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2062 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2068:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2068 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2074:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2074 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2080:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2080 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2086:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2086 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2092:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2092 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2098:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2098 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2104:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2104 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
Structure.cpp:2110:21: warning: ignoring return value of ‘bool std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::empty() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’, declared with attribute ‘nodiscard’ [-Wunused-result]
2110 | filename.empty();
| ~~~~~~~~~~~~~~^~
/usr/include/c++/13/bits/basic_string.h:1220:7: note: declared here
1220 | empty() const _GLIBCXX_NOEXCEPT
| ^~~~~
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c Update_v2.cpp -o Update_v2.o
Update_v2.cpp: In function ‘void updateOmega_HyperInverseWishart(unsigned int*, int*, std::vector<std::vector<std::vector<double> > >&, int, int, const double*, const double*, const double*, const double*, const double*, double, const std::vector<std::vector<std::vector<double> > >&, const std::vector<int>&, const std::vector<std::vector<int> >&)’:
Update_v2.cpp:3919:10: warning: unused variable ‘pot’ [-Wunused-variable]
3919 | double pot = - OmegaGibbs(df,D,oldClique,oldComponents,Q,G,Delta,
| ^~~
Update_v2.cpp: In function ‘void updateDDeltaStar_HyperInverseWishart(unsigned int*, int*, double*, int, int, const int*, const double*, const int*, const double*, const int*, const double*, const double*, const double*, const double*, const double*, const std::vector<std::vector<std::vector<double> > >&, const std::vector<int>&, const std::vector<std::vector<int> >&)’:
Update_v2.cpp:3973:10: warning: unused variable ‘pot’ [-Wunused-variable]
3973 | double pot = DeltaStarGibbs(oldClique,oldComponents,Q,G,S,newValues,
| ^~~
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c Utility_v2.cpp -o Utility_v2.o
Utility_v2.cpp: In function ‘double nuGibbs(double*, int, int, const int*, double, const double*, const double*, const double*, const double*, const double*, const int*, const double*, const int*, const double*, Random&, int)’:
Utility_v2.cpp:221:12: warning: unused variable ‘detPrior’ [-Wunused-variable]
221 | double detPrior = inverse(var,varInv);
| ^~~~~~~~
Utility_v2.cpp:228:12: warning: unused variable ‘detPosterior’ [-Wunused-variable]
228 | double detPosterior = 1.0 /inverse(varInv,var);
| ^~~~~~~~~~~~
Utility_v2.cpp: In function ‘double DeltaGibbs(int, double*, int, int, const int*, double, const double*, const double*, const double*, const double*, const double*, const int*, const double*, const int*, const double*, Random&, int)’:
Utility_v2.cpp:303:9: warning: unused variable ‘s’ [-Wunused-variable]
303 | int s;
| ^
Utility_v2.cpp:328:12: warning: unused variable ‘detPrior’ [-Wunused-variable]
328 | double detPrior = inverse(var,varInv);
| ^~~~~~~~
Utility_v2.cpp:334:12: warning: unused variable ‘detPosterior’ [-Wunused-variable]
334 | double detPosterior = 1.0 / inverse(varInv,var);
| ^~~~~~~~~~~~
Utility_v2.cpp: In function ‘void updateMRF1perfect_onedelta(int, std::vector<int>&, std::vector<int>&, const std::vector<double>&, const std::vector<double>&, const std::vector<std::vector<int> >&, double, double, double, Random&)’:
Utility_v2.cpp:413:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
413 | for (gg = 0; gg < neighbour[g].size(); gg++) {
| ~~~^~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:435:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
435 | for (gg = 0; gg < neighbour[g].size(); gg++) {
| ~~~^~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:447:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
447 | for (ggg = 0; ggg < neighbour[gene].size(); ggg++) {
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp: In function ‘double perfectMRF1_onedelta(int*, int, const std::vector<std::vector<int> >&, const std::vector<double>&, const std::vector<double>&, double, double, double, unsigned int*, int)’:
Utility_v2.cpp:556:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
556 | if (b == start.size() - 1) nextSeed = ran.ChangeSeed(dummy);
| ~~^~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:600:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
600 | for (gg = 0; gg < neighbour[g].size(); gg++)
| ~~~^~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp: In function ‘void updateMRF2perfect_onedelta(int, std::vector<int>&, std::vector<int>&, const std::vector<double>&, const std::vector<double>&, const std::vector<std::vector<int> >&, double, double, Random&)’:
Utility_v2.cpp:635:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
635 | for (k = 0; k < neighbour[g].size(); k++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp: In function ‘double perfectMRF2_onedelta(int*, int, const std::vector<std::vector<int> >&, const std::vector<double>&, const std::vector<double>&, double, double, unsigned int*, int)’:
Utility_v2.cpp:723:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
723 | if (b == start.size() - 1) nextSeed = ran.ChangeSeed(dummy);
| ~~^~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:760:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
760 | for (k = 0; k < neighbour[g].size(); k++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:764:13: warning: unused variable ‘ngg’ [-Wunused-variable]
764 | int ngg = neighbour[gg].size();
| ^~~
Utility_v2.cpp: In function ‘void updateMRF2perfect(int, int, int, int, std::vector<int>&, std::vector<int>&, const std::vector<double>&, const std::vector<double>&, const std::vector<std::vector<int> >&, double, double, double, Random&)’:
Utility_v2.cpp:793:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
793 | for (k = 0; k < neighbour[g].size(); k++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp: In function ‘double perfectMRF2(int*, int, int, const std::vector<std::vector<int> >&, const std::vector<double>&, const std::vector<double>&, double, double, double, unsigned int*, int)’:
Utility_v2.cpp:904:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
904 | if (b == start.size() - 1) nextSeed = ran.ChangeSeed(dummy);
| ~~^~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:949:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
949 | for (k = 0; k < neighbour[g].size(); k++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:954:15: warning: unused variable ‘ngg’ [-Wunused-variable]
954 | int ngg = neighbour[gg].size();
| ^~~
Utility_v2.cpp: In function ‘double OmegaGibbs(double, const std::vector<std::vector<std::vector<double> > >&, const std::vector<int>&, const std::vector<std::vector<int> >&, int, int, const double*, const double*, const double*, const double*, const double*, std::vector<std::vector<std::vector<double> > >&, Random&, int)’:
Utility_v2.cpp:1027:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1027 | for (g1 = 0; g1 < DNew[0].size(); g1++)
| ~~~^~~~~~~~~~~~~~~~
Utility_v2.cpp:1028:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1028 | for (g2 = 0; g2 < DNew[0][g1].size(); g2++)
| ~~~^~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1036:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1036 | for (k = 1; k < DNew.size(); k++) {
| ~~^~~~~~~~~~~~~
Utility_v2.cpp:1041:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1041 | for (g = 0; g < oldComponents[k].size(); g++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1047:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1047 | for (g = 0; g < cliqueSize - oldComponents[k].size(); g++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1059:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1059 | for (g1 = 0; g1 < DNew[k].size(); g1++)
| ~~~^~~~~~~~~~~~~~~~
Utility_v2.cpp:1060:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1060 | for (g2 = 0; g2 < DNew[k][g1].size(); g2++)
| ~~~^~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp: In function ‘double DeltaStarGibbs(const std::vector<int>&, const std::vector<std::vector<int> >&, int, int, const int*, double*, const double*, const double*, const double*, const double*, const double*, const double*, const int*, const int*, const double*, const std::vector<std::vector<std::vector<double> > >&, Random&, int)’:
Utility_v2.cpp:1096:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1096 | for (k = 0; k < OmegaInv.size(); k++)
| ~~^~~~~~~~~~~~~~~~~
Utility_v2.cpp:1101:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1101 | for (k = 0; k < OmegaSep.size(); k++) {
| ~~^~~~~~~~~~~~~~~~~
Utility_v2.cpp:1104:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1104 | for (i = 0; i < oldComponents[k].size(); i++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1107:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1107 | for (j = 0; j < oldComponents[k].size(); j++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1115:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1115 | for (k = 0; k < OmegaSep.size(); k++) {
| ~~^~~~~~~~~~~~~~~~~
Utility_v2.cpp:1129:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1129 | for (k = 0; k < Omega.size(); k++) {
| ~~^~~~~~~~~~~~~~
Utility_v2.cpp:1133:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1133 | for (gg = 0; gg < oldComponents[k].size(); gg++)
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1135:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1135 | for (gg = oldComponents[k].size(); gg < Omega[k].size(); gg++) {
| ~~~^~~~~~~~~~~~~~~~~
Utility_v2.cpp:1238:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1238 | for (k = 0; k < OmegaInv.size(); k++) {
| ~~^~~~~~~~~~~~~~~~~
Utility_v2.cpp:1240:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1240 | for (r = 0; r < nr[k].size(); r++) {
| ~~^~~~~~~~~~~~~~
Utility_v2.cpp:1242:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1242 | for (s = 0; s < nr[k].size(); s++) {
| ~~^~~~~~~~~~~~~~
Utility_v2.cpp:1258:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1258 | for (k = 0; k < OmegaSepInv.size(); k++) {
| ~~^~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1260:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1260 | for (r = 0; r < oldComponents[k].size(); r++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1262:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1262 | for (s = 0; s < oldComponents[k].size(); s++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1409:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1409 | for (index = 0; index < L.size(); index++)
| ~~~~~~^~~~~~~~~~
Utility_v2.cpp:1458:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1458 | for (k = 0; k < VinvSparseReversed.size(); k++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1460:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1460 | for (k = 0; k < VinvSparseReversed.size(); k++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1463:33: warning: variable ‘itextra’ set but not used [-Wunused-but-set-variable]
1463 | map<int,double>::iterator itextra = VinvSparse[k].end();
| ^~~~~~~
Utility_v2.cpp:1501:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1501 | for (index = 0; index < cholReversed.size(); index++)
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1563:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1563 | for (k = 0; k < chol.size(); k++)
| ~~^~~~~~~~~~~~~
Utility_v2.cpp:1565:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1565 | for (k = 0; k < cholReversed.size(); k++) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1600:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1600 | for (k = 0; k < cholT.size(); k++)
| ~~^~~~~~~~~~~~~~
Utility_v2.cpp:1602:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::map<int, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1602 | for (i = 0; i < chol.size(); i++) {
| ~~^~~~~~~~~~~~~
Utility_v2.cpp:1653:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1653 | for (i = 0; i < mean.size(); i++) {
| ~~^~~~~~~~~~~~~
Utility_v2.cpp:1693:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1693 | for (k = 0; k < z.size(); k++)
| ~~^~~~~~~~~~
Utility_v2.cpp:1713:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1713 | for (i = 0; i < sample.size(); i++) {
| ~~^~~~~~~~~~~~~~~
Utility_v2.cpp:1779:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1779 | for (i = 0; i < sample.size(); i++) {
| ~~^~~~~~~~~~~~~~~
Utility_v2.cpp: In function ‘void inverseTransformOmega(const std::vector<std::vector<std::vector<double> > >&, double*)’:
Utility_v2.cpp:1875:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::vector<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1875 | for (k = 0; k < OmegaTransformed.size(); k++) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Utility_v2.cpp:1877:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1877 | for (i = 0; i < OmegaTransformed[k].size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -DR_NO_REMAP -c diffExpressed_main.cpp -o diffExpressed_main.o
In file included from diffExpressed_main.cpp:22:
PotentialX.h: In destructor ‘virtual PotentialX::~PotentialX()’:
PotentialX.h:44:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
44 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
PotentialX.h: In member function ‘virtual double PotentialX::potential(Random&) const’:
PotentialX.h:64:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
64 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
In file included from diffExpressed_main.cpp:31:
PotentialSigma2.h: In destructor ‘virtual PotentialSigma2::~PotentialSigma2()’:
PotentialSigma2.h:44:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
44 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
PotentialSigma2.h: In member function ‘virtual double PotentialSigma2::potential(Random&) const’:
PotentialSigma2.h:64:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
64 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
In file included from diffExpressed_main.cpp:32:
PotentialPhi.h: In destructor ‘virtual PotentialPhi::~PotentialPhi()’:
PotentialPhi.h:44:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
44 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
PotentialPhi.h: In member function ‘virtual double PotentialPhi::potential(Random&) const’:
PotentialPhi.h:64:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
64 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
In file included from diffExpressed_main.cpp:33:
PotentialSum.h: In constructor ‘PotentialSum::PotentialSum(const std::vector<Potential*>&)’:
PotentialSum.h:30:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
30 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
PotentialSum.h: In destructor ‘virtual PotentialSum::~PotentialSum()’:
PotentialSum.h:41:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
PotentialSum.h: In member function ‘virtual double PotentialSum::potential(Random&) const’:
PotentialSum.h:61:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
61 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
In file included from diffExpressed_main.cpp:41:
UpdateDeltaMH.h: In constructor ‘UpdateDeltaMH::UpdateDeltaMH(Structure*, int)’:
UpdateDeltaMH.h:47:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
UpdateDeltaMH.h: In destructor ‘virtual UpdateDeltaMH::~UpdateDeltaMH()’:
UpdateDeltaMH.h:59:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
59 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
In file included from UpdateSigma2MH.h:4,
from diffExpressed_main.cpp:43:
UpdateMultiplicativePositive.h: In constructor ‘UpdateMultiplicativePositive::UpdateMultiplicativePositive(const std::vector<Potential*>&, const std::vector<double*>&, double)’:
UpdateMultiplicativePositive.h:50:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
50 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
UpdateMultiplicativePositive.h:53:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
53 | for (i = 0; i < variable.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
UpdateMultiplicativePositive.h: In constructor ‘UpdateMultiplicativePositive::UpdateMultiplicativePositive(const Potential*, const std::vector<double*>&, double)’:
UpdateMultiplicativePositive.h:76:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
76 | for (i = 0; i < variable.size(); i++)
| ~~^~~~~~~~~~~~~~~~~
UpdateMultiplicativePositive.h: In constructor ‘UpdateMultiplicativePositive::UpdateMultiplicativePositive(const std::vector<Potential*>&, const std::vector<double*>&, const std::vector<double*>&, double)’:
UpdateMultiplicativePositive.h:124:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | for (i = 0; i < model.size(); i++)
| ~~^~~~~~~~~~~~~~
UpdateMultiplicativePositive.h:127:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | for (i = 0; i < variable1.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~
UpdateMultiplicativePositive.h:130:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
130 | for (i = 0; i < variable2.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~
UpdateMultiplicativePositive.h: In constructor ‘UpdateMultiplicativePositive::UpdateMultiplicativePositive(const Potential*, const std::vector<double*>&, const std::vector<double*>&, double)’:
UpdateMultiplicativePositive.h:159:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
159 | for (i = 0; i < variable1.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~
UpdateMultiplicativePositive.h:162:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
162 | for (i = 0; i < variable2.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~
UpdateMultiplicativePositive.h: In member function ‘virtual int UpdateMultiplicativePositive::update(Random&)’:
UpdateMultiplicativePositive.h:213:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
213 | for (i = 0; i < variable1.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~
UpdateSigma2MH.h: In constructor ‘UpdateSigma2MH::UpdateSigma2MH(Structure*, double)’:
UpdateSigma2MH.h:49:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
49 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
UpdateSigma2MH.h: In destructor ‘virtual UpdateSigma2MH::~UpdateSigma2MH()’:
UpdateSigma2MH.h:61:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
61 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
UpdateSigma2MH.h: In member function ‘virtual void UpdateSigma2MH::setEpsilon(double)’:
UpdateSigma2MH.h:71:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
71 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
UpdateSigma2MH.h: In member function ‘virtual int UpdateSigma2MH::update(Random&)’:
UpdateSigma2MH.h:96:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
96 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
In file included from diffExpressed_main.cpp:44:
UpdateTMH.h: In constructor ‘UpdateTMH::UpdateTMH(Structure*, const Potential*, double)’:
UpdateTMH.h:48:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
48 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
UpdateTMH.h: In destructor ‘virtual UpdateTMH::~UpdateTMH()’:
UpdateTMH.h:60:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
60 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
UpdateTMH.h: In member function ‘virtual int UpdateTMH::update(Random&)’:
UpdateTMH.h:84:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
84 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
In file included from diffExpressed_main.cpp:45:
UpdateLMH.h: In constructor ‘UpdateLMH::UpdateLMH(Structure*, const Potential*, double)’:
UpdateLMH.h:49:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
49 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
UpdateLMH.h: In destructor ‘virtual UpdateLMH::~UpdateLMH()’:
UpdateLMH.h:61:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
61 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
UpdateLMH.h: In member function ‘virtual void UpdateLMH::setEpsilon(double)’:
UpdateLMH.h:73:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
73 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
UpdateLMH.h: In member function ‘virtual int UpdateLMH::update(Random&)’:
UpdateLMH.h:99:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
99 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
In file included from diffExpressed_main.cpp:46:
UpdatePhiMH.h: In constructor ‘UpdatePhiMH::UpdatePhiMH(Structure*, double)’:
UpdatePhiMH.h:45:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
45 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
UpdatePhiMH.h: In destructor ‘virtual UpdatePhiMH::~UpdatePhiMH()’:
UpdatePhiMH.h:57:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
57 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
UpdatePhiMH.h: In member function ‘virtual void UpdatePhiMH::setEpsilon(double)’:
UpdatePhiMH.h:69:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
69 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
UpdatePhiMH.h: In member function ‘virtual int UpdatePhiMH::update(Random&)’:
UpdatePhiMH.h:96:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
96 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
In file included from diffExpressed_main.cpp:47:
UpdateThetaMH.h: In constructor ‘UpdateThetaMH::UpdateThetaMH(Structure*, const Potential*, double)’:
UpdateThetaMH.h:49:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
49 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
UpdateThetaMH.h: In destructor ‘virtual UpdateThetaMH::~UpdateThetaMH()’:
UpdateThetaMH.h:61:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
61 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
UpdateThetaMH.h: In member function ‘virtual int UpdateThetaMH::update(Random&)’:
UpdateThetaMH.h:85:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
85 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
In file included from diffExpressed_main.cpp:48:
UpdateLambdaMH.h: In constructor ‘UpdateLambdaMH::UpdateLambdaMH(Structure*, const Potential*, double)’:
UpdateLambdaMH.h:47:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
UpdateLambdaMH.h: In destructor ‘virtual UpdateLambdaMH::~UpdateLambdaMH()’:
UpdateLambdaMH.h:59:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
59 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
UpdateLambdaMH.h: In member function ‘virtual int UpdateLambdaMH::update(Random&)’:
UpdateLambdaMH.h:83:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (i = 0; i < up.size(); i++)
| ~~^~~~~~~~~~~
In file included from diffExpressed_main.cpp:143:
PotentialFunction.h: In function ‘void xdeLIN_main(int*, int*, int*, int*, int*, int*, int*, double*, int*, int*, double*, double*, double*, double*, double*, double*, double*, double*, int*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, int*, double*, int*, int*, char**, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, int*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, int*)’:
PotentialFunction.h:55:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Potential*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
55 | for (i = 0; i < term.size(); i++)
| ~~^~~~~~~~~~~~~
PotentialFunction.h:55:1: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
55 | for (i = 0; i < term.size(); i++)
| ^~~
PotentialFunction.h:62:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
62 | vector<Update *> update;
| ^~~~~~
diffExpressed_main.cpp:202:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
202 | for (k = 0; k < update.size(); k++)
| ~~^~~~~~~~~~~~~~~
diffExpressed_main.cpp:217:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Report*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
217 | for (k = 0; k < report.size(); k++)
| ~~^~~~~~~~~~~~~~~
diffExpressed_main.cpp:224:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Report*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
224 | for (i = 0; i < report.size(); i++)
| ~~^~~~~~~~~~~~~~~
diffExpressed_main.cpp:227:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Update*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
227 | for (i = 0; i < update.size(); i++)
| ~~^~~~~~~~~~~~~~~
gcc -I"/home/biocbuild/bbs-3.21-bioc/R/include" -DNDEBUG -I/usr/local/include -DSTRICT_R_HEADERS=1 -fpic -g -O2 -Wall -c registerDynamicSymbol.c -o registerDynamicSymbol.o
g++ -std=gnu++17 -shared -L/home/biocbuild/bbs-3.21-bioc/R/lib -L/usr/local/lib -o XDE.so Cholesky.o Matrix_v2.o Potential_v2.o Random_v2.o Rinterface_v2.o Structure.o Update_v2.o Utility_v2.o diffExpressed_main.o registerDynamicSymbol.o -lm -L/home/biocbuild/bbs-3.21-bioc/R/lib -lR
installing to /home/biocbuild/bbs-3.21-bioc/R/site-library/00LOCK-XDE/00new/XDE/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Creating a new generic function for ‘qqplot’ in package ‘XDE’
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (XDE)