Compiling dbscan... make[1]: Entering directory `/tmp/larcv/app/dbscan' << compiling dbscanDict.cxx >> << compiling DBSCANAlgo.cxx >> DBSCANAlgo.cxx: In member function ‘dbscan::dbscanOutput dbscan::DBSCANAlgo::scan(dbscan::dbPoints, int, double, bool, double)’: DBSCANAlgo.cxx:37:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (weights.size() != npts) { ^ DBSCANAlgo.cxx: In member function ‘int dbscan::dbscanOutput::findMatchingCluster(const std::vector&, const dbPoints&, double) const’: DBSCANAlgo.cxx:164:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int ic=0; ic&, const dbPoints&, const larcv::ImageMeta&, float, float, std::vector >&, int) const’: DBSCANAlgo.cxx:201:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ( clusterid<0 || clusterid>=clusters.size() ) { ^ DBSCANAlgo.cxx:207:88: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ( clusters.at(clusterid).at(0)<0 || clusters.at(clusterid).at(0)>=src_data.size() ) { ^ DBSCANAlgo.cxx:242:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ( hitlist.size()*, std::vector > >; _Tp = std::pair; _Compare = dbscan::dbscanOutput::closestHitsInCluster(int, const std::vector&, const dbPoints&, const larcv::ImageMeta&, float, float, std::vector >&, int) const::mycompare_t]’: /usr/include/c++/4.8/bits/stl_algo.h:2296:78: required from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Compare = dbscan::dbscanOutput::closestHitsInCluster(int, const std::vector&, const dbPoints&, const larcv::ImageMeta&, float, float, std::vector >&, int) const::mycompare_t]’ /usr/include/c++/4.8/bits/stl_algo.h:2337:62: required from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Size = long int; _Compare = dbscan::dbscanOutput::closestHitsInCluster(int, const std::vector&, const dbPoints&, const larcv::ImageMeta&, float, float, std::vector >&, int) const::mycompare_t]’ /usr/include/c++/4.8/bits/stl_algo.h:5499:44: required from ‘void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = __gnu_cxx::__normal_iterator*, std::vector > >; _Compare = dbscan::dbscanOutput::closestHitsInCluster(int, const std::vector&, const dbPoints&, const larcv::ImageMeta&, float, float, std::vector >&, int) const::mycompare_t]’ DBSCANAlgo.cxx:264:60: required from here /usr/include/c++/4.8/bits/stl_algo.h:2263:35: error: no match for call to ‘(dbscan::dbscanOutput::closestHitsInCluster(int, const std::vector&, const dbPoints&, const larcv::ImageMeta&, float, float, std::vector >&, int) const::mycompare_t) (std::pair&, const std::pair&)’ while (__comp(*__first, __pivot)) ^ DBSCANAlgo.cxx:220:12: note: candidate is: struct mycompare_t { ^ DBSCANAlgo.cxx:221:12: note: bool dbscan::dbscanOutput::closestHitsInCluster(int, const std::vector&, const dbPoints&, const larcv::ImageMeta&, float, float, std::vector >&, int) const::mycompare_t::operator()(std::pair&, std::pair&) bool operator() ( std::pair& lhs, std::pair& rhs ) { ^ DBSCANAlgo.cxx:221:12: note: no known conversion for argument 2 from ‘const std::pair’ to ‘std::pair&’ In file included from /usr/include/c++/4.8/algorithm:62:0, from DBSCANAlgo.cxx:3: /usr/include/c++/4.8/bits/stl_algo.h:2266:34: error: no match for call to ‘(dbscan::dbscanOutput::closestHitsInCluster(int, const std::vector&, const dbPoints&, const larcv::ImageMeta&, float, float, std::vector >&, int) const::mycompare_t) (const std::pair&, std::pair&)’ while (__comp(__pivot, *__last)) ^ DBSCANAlgo.cxx:220:12: note: candidate is: struct mycompare_t { ^ DBSCANAlgo.cxx:221:12: note: bool dbscan::dbscanOutput::closestHitsInCluster(int, const std::vector&, const dbPoints&, const larcv::ImageMeta&, float, float, std::vector >&, int) const::mycompare_t::operator()(std::pair&, std::pair&) bool operator() ( std::pair& lhs, std::pair& rhs ) { ^ DBSCANAlgo.cxx:221:12: note: no known conversion for argument 1 from ‘const std::pair’ to ‘std::pair&’ make[1]: *** [/tmp/larcv/build/dbscan/DBSCANAlgo.o] Error 1 make[1]: Leaving directory `/tmp/larcv/app/dbscan' make: *** [obj] Error 2