Back to the "Multiple platform build/check report" A  B  C  D  E [F] G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

Package 226/671HostnameOS / ArchBUILDCHECKBUILD BIN
flowPeaks 1.2.0
Yongchao Ge
Snapshot Date: 2013-04-30 17:01:37 -0700 (Tue, 30 Apr 2013)
URL: https://hedgehog.fhcrc.org/bioconductor/branches/RELEASE_2_12/madman/Rpacks/flowPeaks
Last Changed Rev: 75263 / Revision: 76155
Last Changed Date: 2013-04-03 14:32:27 -0700 (Wed, 03 Apr 2013)
george2 Linux (Ubuntu 12.04.1 LTS) / x86_64  OK  OK 
moscato2 Windows Server 2008 R2 Enterprise SP1 (64-bit) / x64  OK  OK  OK 
petty Mac OS X Snow Leopard (10.6.8) / x86_64  OK  OK  OK 
pelham Mac OS X Snow Leopard (10.6.8) / x86_64  OK  OK [ OK ]

Summary

Package: flowPeaks
Version: 1.2.0
Command: rm -rf flowPeaks.buildbin-libdir && mkdir flowPeaks.buildbin-libdir && /Users/biocbuild/BBS/utils/build-universal.sh flowPeaks_1.2.0.tar.gz /Library/Frameworks/R.framework/Versions/Current/Resources/bin/R flowPeaks.buildbin-libdir
StartedAt: 2013-05-01 12:22:15 -0700 (Wed, 01 May 2013)
EndedAt: 2013-05-01 12:22:32 -0700 (Wed, 01 May 2013)
EllapsedTime: 16.7 seconds
RetCode: 0
Status:  OK 
PackageFile: flowPeaks_1.2.0.tgz
PackageFileSize: 4.073 MiB

Command output

>>>>>>> 
>>>>>>> INSTALLATION WITH 'R CMD INSTALL --preclean --no-multiarch --library=flowPeaks.buildbin-libdir flowPeaks_1.2.0.tar.gz'
>>>>>>> 

* installing *source* package 'flowPeaks' ...
** libs
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include   `gsl-config --cflags`  -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -c Rpack.cpp -o Rpack.o
In file included from Rpack.cpp:16:
./gvector_gmatrix.h:226:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(b,data,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:229:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(data,b,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:232:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublesub(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:235:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemul(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:238:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doubleadd(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:241:26: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
        return doubledot(data,b,size);
               ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:244:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemv(A,b,size,p,data);
        ˜˜˜˜˜˜˜˜     ^˜˜˜
7 warnings generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include   `gsl-config --cflags`  -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -c Rregistrate.cpp -o Rregistrate.o
In file included from Rregistrate.cpp:1:
./gvector_gmatrix.h:226:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(b,data,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:229:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(data,b,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:232:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublesub(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:235:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemul(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:238:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doubleadd(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:241:26: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
        return doubledot(data,b,size);
               ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:244:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemv(A,b,size,p,data);
        ˜˜˜˜˜˜˜˜     ^˜˜˜
7 warnings generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include   `gsl-config --cflags`  -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -c VoronoiDiagramGenerator.cpp -o VoronoiDiagramGenerator.o
VoronoiDiagramGenerator.cpp:158:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        sites = (struct Site *) myalloc_vor(nsites*sizeof( *sites));
                                            ^˜˜˜˜˜˜
VoronoiDiagramGenerator.cpp:188:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        qsort(sites, nsites, sizeof (*sites), scomp);
        ˜˜˜˜˜        ^˜˜˜˜˜
VoronoiDiagramGenerator.cpp:221:63: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        ELhash = (struct Halfedge **) myalloc_vor ( sizeof *ELhash * ELhashsize);
                                                                   ˜ ^˜˜˜˜˜˜˜˜˜
VoronoiDiagramGenerator.cpp:245:19: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion]
        answer -> ELpm = pm;
                       ˜ ^˜
VoronoiDiagramGenerator.cpp:646:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        PQhash = (struct Halfedge *) myalloc_vor(PQhashsize * sizeof *PQhash);
                                                 ^˜˜˜˜˜˜˜˜˜ ˜
VoronoiDiagramGenerator.cpp:670:52: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                t =  (struct Freenode *) myalloc_vor(sqrt_nsites * fl->nodesize);
                                         ˜˜˜˜˜˜˜˜˜˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜˜˜˜˜˜
6 warnings generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include   `gsl-config --cflags`  -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -c flowPeaks.cpp -o flowPeaks.o
In file included from flowPeaks.cpp:15:
./gvector_gmatrix.h:226:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(b,data,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:229:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(data,b,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:232:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublesub(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:235:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemul(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:238:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doubleadd(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:241:26: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
        return doubledot(data,b,size);
               ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:244:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemv(A,b,size,p,data);
        ˜˜˜˜˜˜˜˜     ^˜˜˜
flowPeaks.cpp:87:12: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        Cm.resize(K);
        ˜˜        ^
flowPeaks.cpp:88:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        Cm_mat.resize(K,p);
        ˜˜˜˜˜˜        ^
flowPeaks.cpp:88:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        Cm_mat.resize(K,p);
        ˜˜˜˜˜˜          ^
flowPeaks.cpp:89:12: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        CS.resize(K);
        ˜˜        ^
flowPeaks.cpp:90:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        Csigma_min.resize(K);
        ˜˜˜˜˜˜˜˜˜˜        ^
flowPeaks.cpp:91:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        Cw.resize(K);
        ˜˜        ^
flowPeaks.cpp:92:15: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        CSinv.resize(K);
        ˜˜˜˜˜        ^
flowPeaks.cpp:93:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        CShalfinv.resize(K);
        ˜˜˜˜˜˜˜˜˜        ^
flowPeaks.cpp:94:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        CC.resize(K);
        ˜˜        ^
flowPeaks.cpp:95:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        vc.resize(p);
        ˜˜        ^
flowPeaks.cpp:96:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        vd.resize(p);
        ˜˜        ^
flowPeaks.cpp:97:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        ve.resize(p);
        ˜˜        ^
flowPeaks.cpp:99:9: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            Cm[i].resize(p);
            ˜˜ ^
flowPeaks.cpp:99:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            Cm[i].resize(p);
            ˜˜           ^
flowPeaks.cpp:100:9: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            CS[i].resize(p,p);
            ˜˜ ^
flowPeaks.cpp:100:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            CS[i].resize(p,p);
            ˜˜           ^
flowPeaks.cpp:100:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            CS[i].resize(p,p);
            ˜˜             ^
flowPeaks.cpp:101:12: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            CSinv[i].resize(p,p);
            ˜˜˜˜˜ ^
flowPeaks.cpp:101:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            CSinv[i].resize(p,p);
            ˜˜˜˜˜           ^
flowPeaks.cpp:101:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            CSinv[i].resize(p,p);
            ˜˜˜˜˜             ^
flowPeaks.cpp:102:16: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            CShalfinv[i].resize(p,p);
            ˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:102:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            CShalfinv[i].resize(p,p);
            ˜˜˜˜˜˜˜˜˜           ^
flowPeaks.cpp:102:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            CShalfinv[i].resize(p,p);
            ˜˜˜˜˜˜˜˜˜             ^
flowPeaks.cpp:113:5: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        Cm[i].memcpy(gvector_view(pCm+i*p,p));
        ˜˜ ^
flowPeaks.cpp:113:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        Cm[i].memcpy(gvector_view(pCm+i*p,p));
                     ˜˜˜˜˜˜˜˜˜˜˜˜         ^
flowPeaks.cpp:114:5: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        CS[i].memcpy(gmatrix_view(pCS+i*(p*p),p,p));
        ˜˜ ^
flowPeaks.cpp:114:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        CS[i].memcpy(gmatrix_view(pCS+i*(p*p),p,p));
                     ˜˜˜˜˜˜˜˜˜˜˜˜             ^
flowPeaks.cpp:114:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        CS[i].memcpy(gmatrix_view(pCS+i*(p*p),p,p));
                     ˜˜˜˜˜˜˜˜˜˜˜˜               ^
flowPeaks.cpp:115:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        gmatrix &Smat=CS[i];
                      ˜˜ ^
flowPeaks.cpp:118:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            double s=sqrt(Smat(j,j));
                          ˜˜˜˜ ^
flowPeaks.cpp:118:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            double s=sqrt(Smat(j,j));
                          ˜˜˜˜   ^
flowPeaks.cpp:123:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        Csigma_min[i]=smin;
        ˜˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:124:5: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        Cw[i]=pCw[i];
        ˜˜ ^
flowPeaks.cpp:125:8: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        CSinv[i].inverse(CS[i]);
        ˜˜˜˜˜ ^
flowPeaks.cpp:125:22: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        CSinv[i].inverse(CS[i]);
                         ˜˜ ^
flowPeaks.cpp:126:12: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        CShalfinv[i].half(CSinv[i]);
        ˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:126:26: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        CShalfinv[i].half(CSinv[i]);
                          ˜˜˜˜˜ ^
flowPeaks.cpp:127:5: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        CC[i]=CShalfinv[i].log_det()-p*log(sqrt(2*M_PI))+
        ˜˜ ^
flowPeaks.cpp:127:18: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        CC[i]=CShalfinv[i].log_det()-p*log(sqrt(2*M_PI))+
              ˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:128:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            log(Cw[i]);
                ˜˜ ^
flowPeaks.cpp:134:26: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    return get_IC(v.data,getp(),getK(),Cm_mat.data);
           ˜˜˜˜˜˜        ^˜˜˜˜˜
flowPeaks.cpp:134:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    return get_IC(v.data,getp(),getK(),Cm_mat.data);
           ˜˜˜˜˜˜               ^˜˜˜˜˜
flowPeaks.cpp:142:17: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vc.sub_fast(Cm[i].data);
                    ˜˜ ^
flowPeaks.cpp:143:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vd.mv_fast(CShalfinv[i].data,vc.data,vc.size);
                   ˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:144:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        s+=exp(CC[i]-vd.dot_fast(vd.data)/2.0);
               ˜˜ ^
flowPeaks.cpp:139:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=getK();
        ˜ ^˜˜˜˜˜
flowPeaks.cpp:143:42: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        vd.mv_fast(CShalfinv[i].data,vc.data,vc.size);
        ˜˜                                   ˜˜˜^˜˜˜
flowPeaks.cpp:153:22: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        double sk=-my_f(&Cm[k]);
                         ˜˜ ^
flowPeaks.cpp:150:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=getK();
        ˜ ^˜˜˜˜˜
flowPeaks.cpp:164:17: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vc.sub_fast(Cm[i].data);
                    ˜˜ ^
flowPeaks.cpp:165:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vd.mv_fast(CShalfinv[i].data,vc.data,vc.size);
                   ˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:166:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        double f=exp(CC[i]-vd.dot_fast(vd.data)/2.0);
                     ˜˜ ^
flowPeaks.cpp:167:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vd.mv_fast(CSinv[i].data,vc.data,vc.size);
                   ˜˜˜˜˜ ^
flowPeaks.cpp:160:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=getK();
        ˜ ^˜˜˜˜˜
flowPeaks.cpp:161:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    doublecopy(df->data,0.0,df->size);
    ˜˜˜˜˜˜˜˜˜˜              ˜˜˜˜^˜˜˜
flowPeaks.cpp:165:42: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        vd.mv_fast(CShalfinv[i].data,vc.data,vc.size);
        ˜˜                                   ˜˜˜^˜˜˜
flowPeaks.cpp:167:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        vd.mv_fast(CSinv[i].data,vc.data,vc.size);
        ˜˜                               ˜˜˜^˜˜˜
flowPeaks.cpp:169:32: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doubleadd(df->data,vd.data,vd.size);
        ˜˜˜˜˜˜˜˜˜                  ˜˜˜^˜˜˜
flowPeaks.cpp:190:17: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vc.sub_fast(Cm[i].data);
                    ˜˜ ^
flowPeaks.cpp:191:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vd.mv_fast(CShalfinv[i].data,vc.data,vc.size);
                   ˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:192:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        double fi=exp(CC[i]-vd.dot_fast(vd.data)/2.0);
                      ˜˜ ^
flowPeaks.cpp:194:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vd.mv_fast(CSinv[i].data,vc.data,vc.size);
                   ˜˜˜˜˜ ^
flowPeaks.cpp:176:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=getK();
        ˜ ^˜˜˜˜˜
flowPeaks.cpp:178:33: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    doublecopy(df->data,0.0,df->size);
    ˜˜˜˜˜˜˜˜˜˜              ˜˜˜˜^˜˜˜
flowPeaks.cpp:191:42: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        vd.mv_fast(CShalfinv[i].data,vc.data,vc.size);
        ˜˜                                   ˜˜˜^˜˜˜
flowPeaks.cpp:194:38: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        vd.mv_fast(CSinv[i].data,vc.data,vc.size);
        ˜˜                               ˜˜˜^˜˜˜
flowPeaks.cpp:196:32: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doubleadd(df->data,vd.data,vd.size);
        ˜˜˜˜˜˜˜˜˜                  ˜˜˜^˜˜˜
flowPeaks.cpp:230:11: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        A.resize(K);
        ˜        ^
flowPeaks.cpp:231:11: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        B.resize(K);
        ˜        ^
flowPeaks.cpp:232:11: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        C.resize(K);
        ˜        ^
flowPeaks.cpp:254:9: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vc-=Cm[i];
            ˜˜ ^
flowPeaks.cpp:255:18: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vd.mv(CShalfinv[i],vc);
              ˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:256:4: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        A[i]=vd.dot(vd);
        ˜ ^
flowPeaks.cpp:257:18: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        vc.mv(CShalfinv[i],step);
              ˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:258:4: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        B[i]=2*vc.dot(vd);
        ˜ ^
flowPeaks.cpp:259:4: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        C[i]=vc.dot(vc);
        ˜ ^
flowPeaks.cpp:247:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=getK();
        ˜ ^˜˜˜˜˜
flowPeaks.cpp:268:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        s+=exp(gmm.getCC()[i]-(A[i]+B[i]*x+C[i]*x*x)/2);
               ˜˜˜         ^
flowPeaks.cpp:268:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        s+=exp(gmm.getCC()[i]-(A[i]+B[i]*x+C[i]*x*x)/2);
                               ˜ ^
flowPeaks.cpp:268:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        s+=exp(gmm.getCC()[i]-(A[i]+B[i]*x+C[i]*x*x)/2);
                                    ˜ ^
flowPeaks.cpp:268:39: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        s+=exp(gmm.getCC()[i]-(A[i]+B[i]*x+C[i]*x*x)/2);
                                           ˜ ^
flowPeaks.cpp:266:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=gmm.getK();
        ˜ ^˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:284:12: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
    int Nx=ceil(gmm.Cw[gmm.ck(x)]*N);
        ˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:284:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    int Nx=ceil(gmm.Cw[gmm.ck(x)]*N);
                ˜˜˜    ^˜˜˜˜˜˜˜˜
flowPeaks.cpp:285:12: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
    int Ny=ceil(gmm.Cw[gmm.ck(y)]*N);
        ˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:285:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    int Ny=ceil(gmm.Cw[gmm.ck(y)]*N);
                ˜˜˜    ^˜˜˜˜˜˜˜˜
flowPeaks.cpp:326:14: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        Vdouble Vz(n+1);
                ˜˜ ˜^˜
flowPeaks.cpp:328:5: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        Vz[n]=py;
        ˜˜ ^
flowPeaks.cpp:330:9: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            Vz[i]=ld(i,gmm);
            ˜˜ ^
flowPeaks.cpp:333:32: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        int vi=min_element(&Vz[1],&Vz[n])-&Vz[0];
                                   ˜˜ ^
flowPeaks.cpp:335:39: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        double peak1=*max_element(&Vz[0],&Vz[vi]);
                                          ˜˜ ^˜
flowPeaks.cpp:336:34: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        double peak2=*max_element(&Vz[vi+1],&Vz[n+1]);
                                   ˜˜ ˜˜^˜
flowPeaks.cpp:336:43: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        double peak2=*max_element(&Vz[vi+1],&Vz[n+1]);
                                             ˜˜ ˜^˜
flowPeaks.cpp:337:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        double valley=Vz[vi];
                      ˜˜ ^˜
flowPeaks.cpp:333:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        int vi=min_element(&Vz[1],&Vz[n])-&Vz[0];
            ˜˜ ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜
flowPeaks.cpp:350:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint ck2(K);
          ˜˜˜ ^
flowPeaks.cpp:351:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble s2(K);
             ˜˜ ^
flowPeaks.cpp:353:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        const gvector &Ci=Cpeaks[i];
                          ˜˜˜˜˜˜ ^
flowPeaks.cpp:356:5: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        s2[i]=L2dist(Ci.data,gmm.Cm[ic2].data,p);
        ˜˜ ^
flowPeaks.cpp:356:30: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        s2[i]=L2dist(Ci.data,gmm.Cm[ic2].data,p);
                             ˜˜˜    ^˜˜
flowPeaks.cpp:357:6: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        ck2[i]=ic2;
        ˜˜˜ ^
flowPeaks.cpp:361:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            double s=sqrt(s2[i])+sqrt(s2[j]);
                          ˜˜ ^
flowPeaks.cpp:361:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            double s=sqrt(s2[i])+sqrt(s2[j]);
                                      ˜˜ ^
flowPeaks.cpp:362:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            S(i,j)=s*s*4; //note that is has been squared
            ˜ ^
flowPeaks.cpp:362:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            S(i,j)=s*s*4; //note that is has been squared
            ˜   ^
flowPeaks.cpp:363:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            S(j,i)=S(i,j);
            ˜ ^
flowPeaks.cpp:363:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            S(j,i)=S(i,j);
            ˜   ^
flowPeaks.cpp:363:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            S(j,i)=S(i,j);
                   ˜ ^
flowPeaks.cpp:363:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            S(j,i)=S(i,j);
                   ˜   ^
flowPeaks.cpp:348:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=S.nrows();
        ˜ ^˜˜˜˜˜˜˜˜
flowPeaks.cpp:349:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int p=Cpeaks.ncols();
        ˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:355:24: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        get_IC1_IC2(Ci.data,p,gmm.getK(),gmm.Cm_mat.data,&ic1,&ic2);
        ˜˜˜˜˜˜˜˜˜˜˜           ^˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:377:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(SD(loc,groups[a][0])<tol){
               ˜˜ ^˜˜
flowPeaks.cpp:377:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(SD(loc,groups[a][0])<tol){
               ˜˜     ^˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:373:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=SD.nrows();
        ˜ ^˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:412:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint Ck(uK);
          ˜˜ ^˜
flowPeaks.cpp:413:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble smin(uK);
             ˜˜˜˜ ^˜
flowPeaks.cpp:415:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        x.change_view(M[i]);
                      ˜ ^
flowPeaks.cpp:416:5: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        Ck[i]=gmm.ck(x);
        ˜˜ ^
flowPeaks.cpp:418:21: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        get_IC1_IC2(gmm.Cm[Ck[i]].data,p,K,gmm.Cm_mat.data,&ic1,&ic2);
                    ˜˜˜    ^˜˜˜˜
flowPeaks.cpp:418:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        get_IC1_IC2(gmm.Cm[Ck[i]].data,p,K,gmm.Cm_mat.data,&ic1,&ic2);
                           ˜˜ ^
flowPeaks.cpp:419:7: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        smin[i]=L2dist(gmm.Cm[ic1].data,gmm.Cm[ic2].data,p);
        ˜˜˜˜ ^
flowPeaks.cpp:419:24: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        smin[i]=L2dist(gmm.Cm[ic1].data,gmm.Cm[ic2].data,p);
                       ˜˜˜    ^˜˜
flowPeaks.cpp:419:41: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        smin[i]=L2dist(gmm.Cm[ic1].data,gmm.Cm[ic2].data,p);
                                        ˜˜˜    ^˜˜
flowPeaks.cpp:423:20: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    Vdouble Mtolv(K*K);
            ˜˜˜˜˜ ˜^˜
flowPeaks.cpp:427:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
            int Nx=ceil(gmm.Cw[i]*n);
                ˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:427:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            int Nx=ceil(gmm.Cw[i]*n);
                        ˜˜˜    ^
flowPeaks.cpp:428:13: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
            int Ny=ceil(gmm.Cw[j]*n);
                ˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:428:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            int Ny=ceil(gmm.Cw[j]*n);
                        ˜˜˜    ^
flowPeaks.cpp:429:34: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            double px=-gmm.my_f(&gmm.Cm[i]);
                                 ˜˜˜    ^
flowPeaks.cpp:430:34: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            double py=-gmm.my_f(&gmm.Cm[j]);
                                 ˜˜˜    ^
flowPeaks.cpp:438:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    Vdouble Vtolv(K);
            ˜˜˜˜˜ ^
flowPeaks.cpp:449:5: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        FD(i,i)=0;
        ˜˜ ^
flowPeaks.cpp:449:7: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        FD(i,i)=0;
        ˜˜   ^
flowPeaks.cpp:450:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        x.change_view(M[i]);
                      ˜ ^
flowPeaks.cpp:452:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            y.change_view(M[j]);
                          ˜ ^
flowPeaks.cpp:453:34: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
            double d=linedev(x,y,gmm,ld,n,dir,cri); ///tolsf;
                     ˜˜˜˜˜˜˜            ^
flowPeaks.cpp:461:9: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            FD(i,j)=d;
            ˜˜ ^
flowPeaks.cpp:461:11: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            FD(i,j)=d;
            ˜˜   ^
flowPeaks.cpp:462:9: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            FD(j,i)=d;
            ˜˜ ^
flowPeaks.cpp:462:11: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            FD(j,i)=d;
            ˜˜   ^
flowPeaks.cpp:396:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=gmm.getK();
        ˜ ^˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:397:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int p=gmm.getp();
        ˜ ^˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:401:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int uK=M.nrows();
        ˜˜ ^˜˜˜˜˜˜˜˜
flowPeaks.cpp:473:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        x.change_view(M[i]);
                      ˜ ^
flowPeaks.cpp:474:4: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        D(i,i)=0;
        ˜ ^
flowPeaks.cpp:474:6: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        D(i,i)=0;
        ˜   ^
flowPeaks.cpp:476:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            y.change_view(M[j]);
                          ˜ ^
flowPeaks.cpp:477:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(i,j)=L2dist(x,y);
            ˜ ^
flowPeaks.cpp:477:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(i,j)=L2dist(x,y);
            ˜   ^
flowPeaks.cpp:478:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(j,i)=D(i,j);
            ˜ ^
flowPeaks.cpp:478:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(j,i)=D(i,j);
            ˜   ^
flowPeaks.cpp:478:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(j,i)=D(i,j);
                   ˜ ^
flowPeaks.cpp:478:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(j,i)=D(i,j);
                   ˜   ^
flowPeaks.cpp:470:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=D.nrows();
        ˜ ^˜˜˜˜˜˜˜˜
flowPeaks.cpp:496:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(checked(i,j)>0 || SD(i,j)>SmatTol(i,j)||FD(i,j)>Ftol) continue;
               ˜˜˜˜˜˜˜ ^
flowPeaks.cpp:496:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(checked(i,j)>0 || SD(i,j)>SmatTol(i,j)||FD(i,j)>Ftol) continue;
               ˜˜˜˜˜˜˜   ^
flowPeaks.cpp:496:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(checked(i,j)>0 || SD(i,j)>SmatTol(i,j)||FD(i,j)>Ftol) continue;
                                 ˜˜ ^
flowPeaks.cpp:496:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(checked(i,j)>0 || SD(i,j)>SmatTol(i,j)||FD(i,j)>Ftol) continue;
                                 ˜˜   ^
flowPeaks.cpp:496:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(checked(i,j)>0 || SD(i,j)>SmatTol(i,j)||FD(i,j)>Ftol) continue;
                                         ˜˜˜˜˜˜˜ ^
flowPeaks.cpp:496:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(checked(i,j)>0 || SD(i,j)>SmatTol(i,j)||FD(i,j)>Ftol) continue;
                                         ˜˜˜˜˜˜˜   ^
flowPeaks.cpp:496:52: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(checked(i,j)>0 || SD(i,j)>SmatTol(i,j)||FD(i,j)>Ftol) continue;
                                                       ˜˜ ^
flowPeaks.cpp:496:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(checked(i,j)>0 || SD(i,j)>SmatTol(i,j)||FD(i,j)>Ftol) continue;
                                                       ˜˜   ^
flowPeaks.cpp:497:12: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(SD(i,j)<d){
               ˜˜ ^
flowPeaks.cpp:497:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(SD(i,j)<d){
               ˜˜   ^
flowPeaks.cpp:498:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                d=SD(i,j);
                  ˜˜ ^
flowPeaks.cpp:498:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                d=SD(i,j);
                  ˜˜   ^
flowPeaks.cpp:513:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(a,k)=min(D(a,k),D(b,k));
            ˜ ^
flowPeaks.cpp:513:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(a,k)=min(D(a,k),D(b,k));
            ˜   ^
flowPeaks.cpp:513:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(a,k)=min(D(a,k),D(b,k));
                       ˜ ^
flowPeaks.cpp:513:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(a,k)=min(D(a,k),D(b,k));
                       ˜   ^
flowPeaks.cpp:513:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(a,k)=min(D(a,k),D(b,k));
                              ˜ ^
flowPeaks.cpp:513:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(a,k)=min(D(a,k),D(b,k));
                              ˜   ^
flowPeaks.cpp:514:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(k,a)=D(a,k);
            ˜ ^
flowPeaks.cpp:514:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(k,a)=D(a,k);
            ˜   ^
flowPeaks.cpp:514:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(k,a)=D(a,k);
                   ˜ ^
flowPeaks.cpp:514:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(k,a)=D(a,k);
                   ˜   ^
flowPeaks.cpp:517:7: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    D(a,a)=min(D(a,a),D(b,b));//mostly unnecessary
    ˜ ^
flowPeaks.cpp:517:9: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    D(a,a)=min(D(a,a),D(b,b));//mostly unnecessary
    ˜   ^
flowPeaks.cpp:517:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    D(a,a)=min(D(a,a),D(b,b));//mostly unnecessary
               ˜ ^
flowPeaks.cpp:517:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    D(a,a)=min(D(a,a),D(b,b));//mostly unnecessary
               ˜   ^
flowPeaks.cpp:517:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    D(a,a)=min(D(a,a),D(b,b));//mostly unnecessary
                      ˜ ^
flowPeaks.cpp:517:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    D(a,a)=min(D(a,a),D(b,b));//mostly unnecessary
                      ˜   ^
flowPeaks.cpp:522:5: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                D(k,h)=D(k+1,h);
                ˜ ^
flowPeaks.cpp:522:7: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                D(k,h)=D(k+1,h);
                ˜   ^
flowPeaks.cpp:522:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                D(k,h)=D(k+1,h);
                       ˜ ˜^˜
flowPeaks.cpp:522:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                D(k,h)=D(k+1,h);
                       ˜     ^
flowPeaks.cpp:524:5: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                D(k,h)=D(k+1,h+1);
                ˜ ^
flowPeaks.cpp:524:7: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                D(k,h)=D(k+1,h+1);
                ˜   ^
flowPeaks.cpp:524:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                D(k,h)=D(k+1,h+1);
                       ˜ ˜^˜
flowPeaks.cpp:524:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                D(k,h)=D(k+1,h+1);
                       ˜     ˜^˜
flowPeaks.cpp:526:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(h,k)=D(k,h);
            ˜ ^
flowPeaks.cpp:526:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(h,k)=D(k,h);
            ˜   ^
flowPeaks.cpp:526:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(h,k)=D(k,h);
                   ˜ ^
flowPeaks.cpp:526:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            D(h,k)=D(k,h);
                   ˜   ^
flowPeaks.cpp:539:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    SD_org.change_view(Sd,K,K);
    ˜˜˜˜˜˜                ^
flowPeaks.cpp:539:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    SD_org.change_view(Sd,K,K);
    ˜˜˜˜˜˜                  ^
flowPeaks.cpp:540:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    FD_org.change_view(Fd,K,K);
    ˜˜˜˜˜˜                ^
flowPeaks.cpp:540:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    FD_org.change_view(Fd,K,K);
    ˜˜˜˜˜˜                  ^
flowPeaks.cpp:541:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    SmatTol_org.change_view(SmatTold,K,K);
    ˜˜˜˜˜˜˜˜˜˜˜                      ^
flowPeaks.cpp:541:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    SmatTol_org.change_view(SmatTold,K,K);
    ˜˜˜˜˜˜˜˜˜˜˜                        ^
flowPeaks.cpp:544:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix SD(K,K);
            ˜˜ ^
flowPeaks.cpp:544:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix SD(K,K);
            ˜˜   ^
flowPeaks.cpp:545:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix FD(K,K);
            ˜˜ ^
flowPeaks.cpp:545:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix FD(K,K);
            ˜˜   ^
flowPeaks.cpp:546:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix SmatTol(K,K);
            ˜˜˜˜˜˜˜ ^
flowPeaks.cpp:546:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix SmatTol(K,K);
            ˜˜˜˜˜˜˜   ^
flowPeaks.cpp:553:18: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    peaks.resize(K);
    ˜˜˜˜˜        ^
flowPeaks.cpp:555:8: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        peaks[i].push_back(i);
        ˜˜˜˜˜ ^
flowPeaks.cpp:557:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix checked(K,K);
            ˜˜˜˜˜˜˜ ^
flowPeaks.cpp:557:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix checked(K,K);
            ˜˜˜˜˜˜˜   ^
flowPeaks.cpp:565:17: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        Vint &ga=peaks[a];
                 ˜˜˜˜˜ ^
flowPeaks.cpp:566:17: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        Vint &gb=peaks[b];
                 ˜˜˜˜˜ ^
flowPeaks.cpp:573:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                if(SD_org(k1,k2)<=SmatTol_org(k1,k2) && FD_org(k1,k2)<=Ftol){
                   ˜˜˜˜˜˜ ^˜
flowPeaks.cpp:573:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                if(SD_org(k1,k2)<=SmatTol_org(k1,k2) && FD_org(k1,k2)<=Ftol){
                   ˜˜˜˜˜˜    ^˜
flowPeaks.cpp:573:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                if(SD_org(k1,k2)<=SmatTol_org(k1,k2) && FD_org(k1,k2)<=Ftol){
                                  ˜˜˜˜˜˜˜˜˜˜˜ ^˜
flowPeaks.cpp:573:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                if(SD_org(k1,k2)<=SmatTol_org(k1,k2) && FD_org(k1,k2)<=Ftol){
                                  ˜˜˜˜˜˜˜˜˜˜˜    ^˜
flowPeaks.cpp:573:50: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                if(SD_org(k1,k2)<=SmatTol_org(k1,k2) && FD_org(k1,k2)<=Ftol){
                                                        ˜˜˜˜˜˜ ^˜
flowPeaks.cpp:573:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                if(SD_org(k1,k2)<=SmatTol_org(k1,k2) && FD_org(k1,k2)<=Ftol){
                                                        ˜˜˜˜˜˜    ^˜
flowPeaks.cpp:578:9: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wconversion]
            if(verified) break;
            ˜˜ ^˜˜˜˜˜˜˜
flowPeaks.cpp:580:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wconversion]
        if(!verified){
           ˜^˜˜˜˜˜˜˜
flowPeaks.cpp:581:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            checked(a,b)=1;
            ˜˜˜˜˜˜˜ ^
flowPeaks.cpp:581:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            checked(a,b)=1;
            ˜˜˜˜˜˜˜   ^
flowPeaks.cpp:597:23: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
            cid[peaks[i][j]]=i;
                            ˜^
flowPeaks.cpp:560:12: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        int gsize=peaks.size();
            ˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:609:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble h(p);
             ˜ ^
flowPeaks.cpp:614:22: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            double m=gmm.Cm[j][i];
                     ˜˜˜    ^
flowPeaks.cpp:614:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            double m=gmm.Cm[j][i];
                     ˜˜˜       ^
flowPeaks.cpp:615:35: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            double threesd=3*sqrt(gmm.CS[j](i,i));
                                  ˜˜˜    ^
flowPeaks.cpp:615:38: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            double threesd=3*sqrt(gmm.CS[j](i,i));
                                  ˜˜˜       ^
flowPeaks.cpp:615:40: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            double threesd=3*sqrt(gmm.CS[j](i,i));
                                  ˜˜˜         ^
flowPeaks.cpp:619:4: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        h[i]=(xmax-xmin)/n;
        ˜ ^
flowPeaks.cpp:606:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int p=gmm.getp();
        ˜ ^˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:607:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=gmm.getK();
        ˜ ^˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:634:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix M(p,K);
            ˜ ^
flowPeaks.cpp:634:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix M(p,K);
            ˜   ^
flowPeaks.cpp:638:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            M(i,j)=gmm.CS[j](i,i);
            ˜ ^
flowPeaks.cpp:638:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            M(i,j)=gmm.CS[j](i,i);
            ˜   ^
flowPeaks.cpp:638:20: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            M(i,j)=gmm.CS[j](i,i);
                   ˜˜˜    ^
flowPeaks.cpp:638:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            M(i,j)=gmm.CS[j](i,i);
                   ˜˜˜       ^
flowPeaks.cpp:638:25: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            M(i,j)=gmm.CS[j](i,i);
                   ˜˜˜         ^
flowPeaks.cpp:642:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble h(p);
             ˜ ^
flowPeaks.cpp:644:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        double *loc=&M(i,0);
                     ˜ ^
flowPeaks.cpp:647:4: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        h[i]=*(loc+halfK);
        ˜ ^
flowPeaks.cpp:631:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int p=gmm.getp();
        ˜ ^˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:632:11: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int K=gmm.getK();
        ˜ ^˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:662:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    double kstepsize=gmm.Csigma_min[ck]/3;
                     ˜˜˜            ^˜
flowPeaks.cpp:663:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gvector grad1(n);
            ˜˜˜˜˜ ^
flowPeaks.cpp:666:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    my_func.n = n;
              ˜ ^
flowPeaks.cpp:677:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    s = gsl_multimin_fdfminimizer_alloc (T,n );
        ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜    ^
flowPeaks.cpp:703:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        if(L2dist(gmm.Cm[newck].data,s->x->data,n)<
                  ˜˜˜    ^˜˜˜˜
flowPeaks.cpp:704:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
           L2dist(gmm.Cm[ck].data,s->x->data,n)){
                  ˜˜˜    ^˜
flowPeaks.cpp:707:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            kstepsize=gmm.Csigma_min[ck]/3;
                      ˜˜˜            ^˜
flowPeaks.cpp:711:35: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            double f1=gmm.my_fdf(&gmm.Cm[newck],&grad1);
                                  ˜˜˜    ^˜˜˜˜
flowPeaks.cpp:714:21: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
                doublecopy(gmm.Cm[ck].data,s->x->data,n);
                           ˜˜˜    ^˜
flowPeaks.cpp:660:13: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
    int n=x.size;
        ˜ ˜˜^˜˜˜
flowPeaks.cpp:745:31: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        yd.change_view(Cpeaks_df+i*p,p);
        ˜˜                           ^
flowPeaks.cpp:746:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        y.change_view(Cpeaks+i*p,p);
        ˜                        ^
flowPeaks.cpp:751:29: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        Cpeaks_f[i]=get_min(gmm.Cm[i],gmm,y,yd,found,maxstepsize);
                            ˜˜˜    ^
flowPeaks.cpp:757:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix_view Cpeaks_M(Cpeaks,K,p);
                 ˜˜˜˜˜˜˜˜        ^
flowPeaks.cpp:757:36: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix_view Cpeaks_M(Cpeaks,K,p);
                 ˜˜˜˜˜˜˜˜          ^
flowPeaks.cpp:758:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix SD(K,K);
            ˜˜ ^
flowPeaks.cpp:758:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix SD(K,K);
            ˜˜   ^
flowPeaks.cpp:765:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uCpeaks(uK,p);
            ˜˜˜˜˜˜˜ ^˜
flowPeaks.cpp:765:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uCpeaks(uK,p);
            ˜˜˜˜˜˜˜    ^
flowPeaks.cpp:767:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        Vint& gi=peak_groups[i];
                 ˜˜˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:778:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        uCpeaks[i].memcpy(Cpeaks_M[loc]);
        ˜˜˜˜˜˜˜ ^
flowPeaks.cpp:778:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        uCpeaks[i].memcpy(Cpeaks_M[loc]);
                          ˜˜˜˜˜˜˜˜ ^˜˜
flowPeaks.cpp:783:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            Cpeaks_M[gloc].memcpy(Cpeaks_M[loc]);
            ˜˜˜˜˜˜˜˜ ^˜˜˜
flowPeaks.cpp:783:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            Cpeaks_M[gloc].memcpy(Cpeaks_M[loc]);
                                  ˜˜˜˜˜˜˜˜ ^˜˜
flowPeaks.cpp:791:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uSD(uK,uK);
            ˜˜˜ ^˜
flowPeaks.cpp:791:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uSD(uK,uK);
            ˜˜˜    ^˜
flowPeaks.cpp:793:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uFD(uK,uK); //the number of unique peaks.
            ˜˜˜ ^˜
flowPeaks.cpp:793:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uFD(uK,uK); //the number of unique peaks.
            ˜˜˜    ^˜
flowPeaks.cpp:795:15: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    Vint ucid(uK);
         ˜˜˜˜ ^˜
flowPeaks.cpp:796:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix SmatTol(uK,uK);
            ˜˜˜˜˜˜˜ ^˜
flowPeaks.cpp:796:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix SmatTol(uK,uK);
            ˜˜˜˜˜˜˜    ^˜
flowPeaks.cpp:839:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        Vint& gi=peak_groups[i];
                 ˜˜˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:841:22: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            cid[gi[j]]=ucid[i];
                       ˜˜˜˜ ^
flowPeaks.cpp:764:12: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int uK=peak_groups.size();
        ˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:858:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    rawM.change_view(raw,n,2);
    ˜˜˜˜                 ^
flowPeaks.cpp:869:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix gridM(nres+1,nres+1);
            ˜˜˜˜˜ ˜˜˜˜^˜
flowPeaks.cpp:869:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix gridM(nres+1,nres+1);
            ˜˜˜˜˜        ˜˜˜˜^˜
flowPeaks.cpp:871:11: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
        int loci=round((rawM(i,0)-xmin)/xstep);
            ˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:871:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        int loci=round((rawM(i,0)-xmin)/xstep);
                        ˜˜˜˜ ^
flowPeaks.cpp:872:11: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
        int locj=round((rawM(i,1)-ymin)/ystep);
            ˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:872:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        int locj=round((rawM(i,1)-ymin)/ystep);
                        ˜˜˜˜ ^
flowPeaks.cpp:873:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        gridM(loci,locj)=rawid[i];
        ˜˜˜˜˜ ^˜˜˜
flowPeaks.cpp:873:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        gridM(loci,locj)=rawid[i];
        ˜˜˜˜˜      ^˜˜˜
flowPeaks.cpp:876:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix_view gridMV(grid,n,2);
                 ˜˜˜˜˜˜      ^
flowPeaks.cpp:880:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(gridM(i,j)>0){
               ˜˜˜˜˜ ^
flowPeaks.cpp:880:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(gridM(i,j)>0){
               ˜˜˜˜˜   ^
flowPeaks.cpp:881:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                gridMV(ngrid,0)=i*xstep+xmin;
                ˜˜˜˜˜˜ ^˜˜˜˜
flowPeaks.cpp:882:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                gridMV(ngrid,1)=j*ystep+ymin;
                ˜˜˜˜˜˜ ^˜˜˜˜
flowPeaks.cpp:883:18: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
                grid_id[ngrid]=round(gridM(i,j));
                              ˜^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:883:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                grid_id[ngrid]=round(gridM(i,j));
                                     ˜˜˜˜˜ ^
flowPeaks.cpp:883:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                grid_id[ngrid]=round(gridM(i,j));
                                     ˜˜˜˜˜   ^
flowPeaks.cpp:900:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint Nbk(K);
          ˜˜˜ ^
flowPeaks.cpp:906:6: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        Nbk[k]=max_element(&Nb[k*K],&Nb[(k+1)*K])-&Nb[k*K];
        ˜˜˜ ^
flowPeaks.cpp:910:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint cnext(K); //the better neighbors
          ˜˜˜˜˜ ^
flowPeaks.cpp:911:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gvector midpt(p);
            ˜˜˜˜˜ ^
flowPeaks.cpp:915:29: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        double f0=gmm.my_f(&gmm.Cm[k]);
                            ˜˜˜    ^
flowPeaks.cpp:921:28: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        double smin=L2dist(gmm.Cm[k].data,gmm.Cm[Nbk[k]].data,p)*4;
                           ˜˜˜    ^
flowPeaks.cpp:921:43: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        double smin=L2dist(gmm.Cm[k].data,gmm.Cm[Nbk[k]].data,p)*4;
                                          ˜˜˜    ^˜˜˜˜˜
flowPeaks.cpp:921:47: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        double smin=L2dist(gmm.Cm[k].data,gmm.Cm[Nbk[k]].data,p)*4;
                                                 ˜˜˜ ^
flowPeaks.cpp:925:30: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
                double f1=gmm.my_f(&gmm.Cm[l]);
                                    ˜˜˜    ^
flowPeaks.cpp:927:27: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
                double sl=L2dist(gmm.Cm[k].data,
                                 ˜˜˜    ^
flowPeaks.cpp:928:13: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
                                 gmm.Cm[l].data,p);
                                 ˜˜˜    ^
flowPeaks.cpp:930:29: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
                double tol=linedev(gmm.Cm[k],gmm.Cm[l],gmm,ld,n,1,1);
                                   ˜˜˜    ^
flowPeaks.cpp:930:39: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
                double tol=linedev(gmm.Cm[k],gmm.Cm[l],gmm,ld,n,1,1);
                                             ˜˜˜    ^
flowPeaks.cpp:930:49: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wconversion]
                double tol=linedev(gmm.Cm[k],gmm.Cm[l],gmm,ld,n,1,1);
                           ˜˜˜˜˜˜˜                            ^
flowPeaks.cpp:942:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        cnext[k]=ck;
        ˜˜˜˜˜ ^
flowPeaks.cpp:945:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint peaks_id(-1,K);
          ˜˜˜˜˜˜˜˜    ^
flowPeaks.cpp:954:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(peaks_id[l]>0){//found existing peak
               ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:955:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                peak_old=peaks_id[l];
                         ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:958:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            int lnext=cnext[l];
                      ˜˜˜˜˜ ^
flowPeaks.cpp:960:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            l=cnext[l];
              ˜˜˜˜˜ ^
flowPeaks.cpp:967:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            peaks_id[gint[j]]=peak_old;
            ˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜
flowPeaks.cpp:972:21: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        double *loc=gmm.Cm[peaks_id[k]].data;
                    ˜˜˜    ^˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:972:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        double *loc=gmm.Cm[peaks_id[k]].data;
                           ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:977:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uCpeaks(uK,p);
            ˜˜˜˜˜˜˜ ^˜
flowPeaks.cpp:977:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uCpeaks(uK,p);
            ˜˜˜˜˜˜˜    ^
flowPeaks.cpp:979:10: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        uCpeaks[uk].memcpy(gmm.Cm[peaks_set[uk]]);
        ˜˜˜˜˜˜˜ ^˜
flowPeaks.cpp:979:28: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        uCpeaks[uk].memcpy(gmm.Cm[peaks_set[uk]]);
                           ˜˜˜    ^˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:979:38: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        uCpeaks[uk].memcpy(gmm.Cm[peaks_set[uk]]);
                                  ˜˜˜˜˜˜˜˜˜ ^˜
flowPeaks.cpp:981:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uSD(uK,uK);
            ˜˜˜ ^˜
flowPeaks.cpp:981:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uSD(uK,uK);
            ˜˜˜    ^˜
flowPeaks.cpp:983:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uFD(uK,uK); //the number of unique peaks.
            ˜˜˜ ^˜
flowPeaks.cpp:983:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix uFD(uK,uK); //the number of unique peaks.
            ˜˜˜    ^˜
flowPeaks.cpp:986:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix SmatTol(uK,uK);
            ˜˜˜˜˜˜˜ ^˜
flowPeaks.cpp:986:24: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix SmatTol(uK,uK);
            ˜˜˜˜˜˜˜    ^˜
flowPeaks.cpp:991:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint ucid(uK);
          ˜˜˜˜ ^˜
flowPeaks.cpp:994:22: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint peaks2ucid(K);
          ˜˜˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:996:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        peaks2ucid[peaks_set[uk]]=ucid[uk];
        ˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:996:23: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        peaks2ucid[peaks_set[uk]]=ucid[uk];
                   ˜˜˜˜˜˜˜˜˜ ^˜
flowPeaks.cpp:996:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        peaks2ucid[peaks_set[uk]]=ucid[uk];
                                  ˜˜˜˜ ^˜
flowPeaks.cpp:1000:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        cid[k]=peaks2ucid[peaks_id[k]];
               ˜˜˜˜˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:1000:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        cid[k]=peaks2ucid[peaks_id[k]];
                          ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:906:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        Nbk[k]=max_element(&Nb[k*K],&Nb[(k+1)*K])-&Nb[k*K];
              ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜^˜˜˜˜˜˜˜˜
flowPeaks.cpp:976:12: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int uK=peaks_set.size();
        ˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
flowPeaks.cpp:1016:26: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    vector<GMM> peakinfo(nC);
                ˜˜˜˜˜˜˜˜ ^˜
flowPeaks.cpp:1017:29: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    vector<double> peakdens(nC);
                   ˜˜˜˜˜˜˜˜ ^˜
flowPeaks.cpp:1035:15: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            peakinfo[i].Init(tmpCw,tmpCm,tmpCS,&tmpK,pp);
            ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:1036:15: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            peakdens[i]=peakinfo[i].pseudo_maxf();
            ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:1036:27: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            peakdens[i]=peakinfo[i].pseudo_maxf();
                        ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:1042:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gvector prob(nC);
            ˜˜˜˜ ^˜
flowPeaks.cpp:1043:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gvector CC(nC);
            ˜˜ ^˜
flowPeaks.cpp:1045:5: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        CC[j]=peakinfo[j].getCCmin();
        ˜˜ ^
flowPeaks.cpp:1045:17: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        CC[j]=peakinfo[j].getCCmin();
              ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:1050:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        gvector_view a(A+i*p,p);
                     ˜       ^
flowPeaks.cpp:1051:21: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        double f=-peakinfo[k].my_f(&a);
                  ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:1052:16: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        if(f<peakdens[k]*tol){
             ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:1061:8: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                prob[j]=(-peakinfo[j].my_f(&a))*exp(CC[j]);
                ˜˜˜˜ ^
flowPeaks.cpp:1061:22: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
                prob[j]=(-peakinfo[j].my_f(&a))*exp(CC[j]);
                          ˜˜˜˜˜˜˜˜ ^
flowPeaks.cpp:1061:42: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                prob[j]=(-peakinfo[j].my_f(&a))*exp(CC[j]);
                                                    ˜˜ ^
flowPeaks.cpp:1080:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(prob[k]<fc){
               ˜˜˜˜ ^
363 warnings generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include   `gsl-config --cflags`  -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -c func_collect.cpp -o func_collect.o
In file included from func_collect.cpp:14:
./gvector_gmatrix.h:226:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(b,data,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:229:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(data,b,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:232:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublesub(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:235:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemul(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:238:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doubleadd(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:241:26: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
        return doubledot(data,b,size);
               ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:244:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemv(A,b,size,p,data);
        ˜˜˜˜˜˜˜˜     ^˜˜˜
func_collect.cpp:44:55: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion]
            const double* Aloc=A+gsl_rng_uniform_int(g_rng.r,n)*p;
                                 ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜         ^
func_collect.cpp:44:58: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion]
            const double* Aloc=A+gsl_rng_uniform_int(g_rng.r,n)*p;
                                                               ˜^
func_collect.cpp:119:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        VAdouble D(*pn);
                 ˜ ^˜˜
func_collect.cpp:179:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    int loc=gsl_rng_uniform_int(g_rng.r,n);
            ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜         ^
func_collect.cpp:182:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gvector DV(n);
            ˜˜ ^
func_collect.cpp:179:13: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
    int loc=gsl_rng_uniform_int(g_rng.r,n);
        ˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
func_collect.cpp:213:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint remainVv(n);
          ˜˜˜˜˜˜˜˜ ^
func_collect.cpp:220:45: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        int h = gsl_rng_uniform_int(g_rng.r,remainN);
                ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜         ^˜˜˜˜˜˜
func_collect.cpp:220:17: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        int h = gsl_rng_uniform_int(g_rng.r,remainN);
            ˜   ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
func_collect.cpp:255:24: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    buffv.resize(length+2);
    ˜˜˜˜˜        ˜˜˜˜˜˜^˜
func_collect.cpp:258:28: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    int count=fread(buff,1,length,fp);
              ˜˜˜˜˜        ^˜˜˜˜˜
func_collect.cpp:254:16: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
    int length=ftell(fp);
        ˜˜˜˜˜˜ ^˜˜˜˜˜˜˜˜
func_collect.cpp:258:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int count=fread(buff,1,length,fp);
        ˜˜˜˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
func_collect.cpp:297:29: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        p=(char*)memchr(p,'\n',plim-p);
                 ˜˜˜˜˜˜        ˜˜˜˜^˜
func_collect.cpp:308:39: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        char* pline=(char*)memchr(p,'\n',plim-p);
                           ˜˜˜˜˜˜        ˜˜˜˜^˜
func_collect.cpp:317:33: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            p=(char*)memchr(p,sep,pline-p);
                     ˜˜˜˜˜˜       ˜˜˜˜˜^˜
func_collect.cpp:329:43: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            char *pnext=(char*)memchr(p,sep,pline-p);
                               ˜˜˜˜˜˜       ˜˜˜˜˜^˜
func_collect.cpp:384:14: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        Acv.resize(n*p);
        ˜˜˜        ˜^˜
func_collect.cpp:386:15: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        memcpy(Ac,B,n*p*sizeof(double));
                    ˜^˜˜
func_collect.cpp:401:18: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    Vdouble S0v(p*p);
            ˜˜˜ ˜^˜
27 warnings generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include   `gsl-config --cflags`  -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -c func_collect_supp.cpp -o func_collect_supp.o
In file included from func_collect_supp.cpp:14:
./gvector_gmatrix.h:226:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(b,data,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:229:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(data,b,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:232:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublesub(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:235:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemul(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:238:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doubleadd(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:241:26: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
        return doubledot(data,b,size);
               ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:244:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemv(A,b,size,p,data);
        ˜˜˜˜˜˜˜˜     ^˜˜˜
func_collect_supp.cpp:35:16: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gvector sm(p);
            ˜˜ ^
8 warnings generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include   `gsl-config --cflags`  -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -c gvector_gmatrix.cpp -o gvector_gmatrix.o
In file included from gvector_gmatrix.cpp:14:
./gvector_gmatrix.h:226:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(b,data,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:229:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(data,b,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:232:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublesub(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:235:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemul(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:238:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doubleadd(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:241:26: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
        return doubledot(data,b,size);
               ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:244:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemv(A,b,size,p,data);
        ˜˜˜˜˜˜˜˜     ^˜˜˜
gvector_gmatrix.cpp:138:35: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
    doublecopy(data,tmp.data,size1*size2);
    ˜˜˜˜˜˜˜˜˜˜               ˜˜˜˜˜^˜˜˜˜˜
gvector_gmatrix.cpp:209:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix U(size,size);
            ˜ ^˜˜˜
gvector_gmatrix.cpp:209:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix U(size,size);
            ˜      ^˜˜˜
gvector_gmatrix.cpp:210:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix V(size,size);
            ˜ ^˜˜˜
gvector_gmatrix.cpp:210:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix V(size,size);
            ˜      ^˜˜˜
gvector_gmatrix.cpp:211:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gvector s(size);
            ˜ ^˜˜˜
gvector_gmatrix.cpp:212:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix S(size,size);
            ˜ ^˜˜˜
gvector_gmatrix.cpp:212:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix S(size,size);
            ˜      ^˜˜˜
gvector_gmatrix.cpp:216:4: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        S(i,i)=sqrt(s[i]); //set the diagnonal matrix;
        ˜ ^
gvector_gmatrix.cpp:216:6: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        S(i,i)=sqrt(s[i]); //set the diagnonal matrix;
        ˜   ^
gvector_gmatrix.cpp:216:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        S(i,i)=sqrt(s[i]); //set the diagnonal matrix;
                    ˜ ^
gvector_gmatrix.cpp:219:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix A1(size,size); //avoid the aliasing
            ˜˜ ^˜˜˜
gvector_gmatrix.cpp:219:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix A1(size,size); //avoid the aliasing
            ˜˜      ^˜˜˜
gvector_gmatrix.cpp:208:14: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    int size=size1;
        ˜˜˜˜ ^˜˜˜˜
gvector_gmatrix.cpp:244:9: warning: implicit conversion turns floating-point number into integer: 'typename __gnu_cxx::__enable_if<__is_integer<bool>::__value, double>::__type' (aka 'double') to 'bool' [-Wconversion]
            if(fabs(dif>tol)) return false;
            ˜˜ ^˜˜˜˜˜˜˜˜˜˜˜˜
gvector_gmatrix.cpp:303:7: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        if(s[b]==sep){
           ˜ ^
gvector_gmatrix.cpp:317:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            if(isspace(s[l])){
                       ˜ ^
gvector_gmatrix.cpp:322:19: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            if(isspace(s[r])){
                       ˜ ^
gvector_gmatrix.cpp:330:29: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            sv.push_back(s.substr(l-sbegin,r-l+1));
                         ˜        ˜^˜˜˜˜˜˜
gvector_gmatrix.cpp:330:40: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
            sv.push_back(s.substr(l-sbegin,r-l+1));
                         ˜                 ˜˜˜^˜
gvector_gmatrix.cpp:333:20: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        if(b+1==send && s[b]==sep){ //how to deal with that b is the last one, we need to compute both
                        ˜ ^
gvector_gmatrix.cpp:300:10: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
    send=s.size();
        ˜^˜˜˜˜˜˜˜
gvector_gmatrix.cpp:366:24: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    for(unsigned int i=nlab;i<v.size();i++){
                     ˜ ^˜˜˜
gvector_gmatrix.cpp:432:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion]
    gmatrix::resize(size1_new,size2_new);
    ˜˜˜˜˜˜˜         ^˜˜˜˜˜˜˜˜
gvector_gmatrix.cpp:432:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wconversion]
    gmatrix::resize(size1_new,size2_new);
    ˜˜˜˜˜˜˜                   ^˜˜˜˜˜˜˜˜
32 warnings generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include   `gsl-config --cflags`  -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -c kd_tree.cpp -o kd_tree.o
In file included from kd_tree.cpp:14:
In file included from ./kd_tree.h:16:
./gvector_gmatrix.h:226:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(b,data,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:229:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(data,b,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:232:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublesub(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:235:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemul(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:238:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doubleadd(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:241:26: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
        return doubledot(data,b,size);
               ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:244:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemv(A,b,size,p,data);
        ˜˜˜˜˜˜˜˜     ^˜˜˜
kd_tree.cpp:27:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        nodedata_v.resize(N*(sizeof(Node)+3*p*sizeof(double)));
                          ^˜
kd_tree.cpp:27:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        nodedata_v.resize(N*(sizeof(Node)+3*p*sizeof(double)));
                                          ˜^˜˜
kd_tree.cpp:33:17: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        index_v.resize(n);
        ˜˜˜˜˜˜˜        ^
kd_tree.cpp:38:17: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        tmpV1_v.resize(p);
        ˜˜˜˜˜˜˜        ^
kd_tree.cpp:41:17: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        tmpV2_v.resize(p);
        ˜˜˜˜˜˜˜        ^
kd_tree.cpp:70:50: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    node->middle=(double*)(nodenext+sizeof(Node)+p_*sizeof(double));
                                                 ^˜˜
kd_tree.cpp:71:48: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    node->rad=(double*)(nodenext+sizeof(Node)+2*p_*sizeof(double));
                                              ˜^˜˜˜
kd_tree.cpp:72:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    nodenext+=sizeof(Node)+3*p_*sizeof(double);
                           ˜^˜˜˜
kd_tree.cpp:182:18: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint cand_C(K);
          ˜˜˜˜˜˜ ^
kd_tree.cpp:184:9: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        cand_C[i]=i;
        ˜˜˜˜˜˜ ^
kd_tree.cpp:195:56: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion]
            const double* Aloc=A_+gsl_rng_uniform_int(g_rng.r,n_)*p_;
                                  ˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜         ^˜
kd_tree.cpp:195:60: warning: implicit conversion changes signedness: 'const int' to 'unsigned long' [-Wsign-conversion]
            const double* Aloc=A_+gsl_rng_uniform_int(g_rng.r,n_)*p_;
                                                                 ˜^˜
kd_tree.cpp:221:17: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble C1(K);
             ˜˜ ^
kd_tree.cpp:222:17: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble C2(K);
             ˜˜ ^
kd_tree.cpp:223:18: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint C_last(K);
          ˜˜˜˜˜˜ ^
kd_tree.cpp:225:9: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        C_last[k]=n-1;//to make sure D[i] is computed during the first time
        ˜˜˜˜˜˜ ^
kd_tree.cpp:226:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        updateC12(nc[k],C1[k],C2[k]);
                        ˜˜ ^
kd_tree.cpp:226:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        updateC12(nc[k],C1[k],C2[k]);
                              ˜˜ ^
kd_tree.cpp:236:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(C_last[k1]>=istep){ //update D[i] even when exactly n steps ago as we didn't update D[i] at that time
               ˜˜˜˜˜˜ ^˜
kd_tree.cpp:237:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                D[i]=L2dist(A+i*p,C+k1*p,p)*C1[k1];
                                            ˜˜ ^˜
kd_tree.cpp:239:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(C_last[k1]<=istep && C_last[k2]<=istep) continue;
               ˜˜˜˜˜˜ ^˜
kd_tree.cpp:239:37: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if(C_last[k1]<=istep && C_last[k2]<=istep) continue;
                                    ˜˜˜˜˜˜ ^˜
kd_tree.cpp:240:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            double R2=C2[k2]*L2dist(A+i*p,C+k2*p,p);
                      ˜˜ ^˜
kd_tree.cpp:243:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            C_last[k1]=n+istep; 
            ˜˜˜˜˜˜ ^˜
kd_tree.cpp:244:13: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            C_last[k2]=n+istep;
            ˜˜˜˜˜˜ ^˜
kd_tree.cpp:250:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            updateC12(nc[k1],C1[k1],C2[k1]);
                             ˜˜ ^˜
kd_tree.cpp:250:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            updateC12(nc[k1],C1[k1],C2[k1]);
                                    ˜˜ ^˜
kd_tree.cpp:251:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            updateC12(nc[k2],C1[k2],C2[k2]);
                             ˜˜ ^˜
kd_tree.cpp:251:33: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            updateC12(nc[k2],C1[k2],C2[k2]);
                                    ˜˜ ^˜
kd_tree.cpp:263:17: warning: implicit conversion changes signedness: 'const int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
    Vint cand_C(K);
         ˜˜˜˜˜˜ ^
kd_tree.cpp:265:9: warning: implicit conversion changes signedness: 'int' to 'size_type' (aka 'unsigned long') [-Wsign-conversion]
        cand_C[k]=k;
        ˜˜˜˜˜˜ ^
kd_tree.cpp:399:15: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix C(K,p);
            ˜ ^
kd_tree.cpp:399:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix C(K,p);
            ˜   ^
kd_tree.cpp:400:18: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix Cnew(K,p);
            ˜˜˜˜ ^
kd_tree.cpp:400:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix Cnew(K,p);
            ˜˜˜˜   ^
kd_tree.cpp:401:14: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint nc(K);
          ˜˜ ^
kd_tree.cpp:402:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint IC1(n);
          ˜˜˜ ^
kd_tree.cpp:403:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint IC2(n);
          ˜˜˜ ^
kd_tree.cpp:404:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble D(n);
             ˜ ^
kd_tree.cpp:411:17: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble C1(K);
             ˜˜ ^
kd_tree.cpp:412:17: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble C2(K);
             ˜˜ ^
kd_tree.cpp:413:18: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint C_last(K);
          ˜˜˜˜˜˜ ^
kd_tree.cpp:415:9: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        C_last[k]=n-1;//to make sure D[i] is computed during the first time
        ˜˜˜˜˜˜ ^
kd_tree.cpp:416:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        updateC12(nc[k],C1[k],C2[k]);
                  ˜˜ ^
kd_tree.cpp:416:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        updateC12(nc[k],C1[k],C2[k]);
                        ˜˜ ^
kd_tree.cpp:416:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        updateC12(nc[k],C1[k],C2[k]);
                              ˜˜ ^
kd_tree.cpp:463:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix C(K,p);
            ˜ ^
kd_tree.cpp:463:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix C(K,p);
            ˜   ^
kd_tree.cpp:464:18: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix Cnew(K,p);
            ˜˜˜˜ ^
kd_tree.cpp:464:20: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix Cnew(K,p);
            ˜˜˜˜   ^
kd_tree.cpp:465:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint nc(K);
          ˜˜ ^
kd_tree.cpp:478:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            VAint permuv(K);
                  ˜˜˜˜˜˜ ^
kd_tree.cpp:520:19: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble Acv(n*p);
             ˜˜˜ ˜^˜
kd_tree.cpp:522:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    memcpy(Ac,A,n*p*sizeof(double));
                ˜^˜˜
kd_tree.cpp:544:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint nc(K);
          ˜˜ ^
kd_tree.cpp:588:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint IC2(n);
          ˜˜˜ ^
63 warnings generated.
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include   `gsl-config --cflags`  -fPIC  -mtune=native -g -O2 -Wall -pedantic -Wconversion -c kmns.cpp -o kmns.o
In file included from kmns.cpp:14:
./gvector_gmatrix.h:226:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(b,data,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:229:20: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublecopy(data,b,size);
        ˜˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:232:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublesub(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:235:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemul(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:238:19: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doubleadd(data,b,size);
        ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:241:26: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32]
        return doubledot(data,b,size);
               ˜˜˜˜˜˜˜˜˜        ^˜˜˜
./gvector_gmatrix.h:244:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]
        doublemv(A,b,size,p,data);
        ˜˜˜˜˜˜˜˜     ^˜˜˜
kmns.cpp:48:17: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble C1(K),C2(K);
             ˜˜ ^
kmns.cpp:48:23: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble C1(K),C2(K);
                   ˜˜ ^
kmns.cpp:50:21: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        updateC12(nc[k],C1[k],C2[k]);
                        ˜˜ ^
kmns.cpp:50:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        updateC12(nc[k],C1[k],C2[k]);
                              ˜˜ ^
kmns.cpp:52:22: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint isCqtran(1,K);//is it updated in quick transfer
          ˜˜˜˜˜˜˜˜   ^
kmns.cpp:53:21: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint  C_last(0,K);/*the last time it is changed, for Quick_Transfer, it is n+step,
           ˜˜˜˜˜˜   ^
kmns.cpp:59:16: warning: implicit conversion changes signedness: 'const int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint live(K);
          ˜˜˜˜ ^
kmns.cpp:187:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix C(K,p);
            ˜ ^
kmns.cpp:187:17: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    gmatrix C(K,p);
            ˜   ^
kmns.cpp:188:14: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint nc(K);
          ˜˜ ^
kmns.cpp:189:15: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint IC1(n), IC2(n);
          ˜˜˜ ^
kmns.cpp:189:23: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAint IC1(n), IC2(n);
                  ˜˜˜ ^
kmns.cpp:190:16: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    VAdouble D(n);
             ˜ ^
20 warnings generated.
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -L/usr/local/lib -o flowPeaks.so Rpack.o Rregistrate.o VoronoiDiagramGenerator.o flowPeaks.o func_collect.o func_collect_supp.o gvector_gmatrix.o kd_tree.o kmns.o -L/usr/local/lib -lgsl -lgslcblas -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Users/biocbuild/bbs-2.12-bioc/meat/flowPeaks.buildbin-libdir/flowPeaks/libs
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (flowPeaks)


>>>>>>> 
>>>>>>> FIXING LINKS FOR flowPeaks.buildbin-libdir/flowPeaks/libs//flowPeaks.so
>>>>>>> 

install_name_tool -change "/usr/local/lib/libgcc_s.1.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libgcc_s.1.dylib" "flowPeaks.buildbin-libdir/flowPeaks/libs//flowPeaks.so"
install_name_tool -change "/usr/local/lib/libgfortran.2.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libgfortran.2.dylib" "flowPeaks.buildbin-libdir/flowPeaks/libs//flowPeaks.so"
install_name_tool -change "/usr/local/lib/libreadline.5.2.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libreadline.5.2.dylib" "flowPeaks.buildbin-libdir/flowPeaks/libs//flowPeaks.so"
install_name_tool -change "/usr/local/lib/libreadline.dylib" "/Library/Frameworks/R.framework/Versions/3.0/Resources/lib/libreadline.dylib" "flowPeaks.buildbin-libdir/flowPeaks/libs//flowPeaks.so"