Skip to content

Build error on macOS #927

@jpummil

Description

@jpummil

Canu 1.7

Trying to add via Homebrew

brew install canu
g++-8 -o /private/tmp/canu-20180522-7501-nkpe2y/canu-1.7/Darwin-amd64/obj/lib/libcanu.a/utgcns/libNDalign/NDalgorithm-allocateMoreSpace.o -c -MD -D_GLIBCXX_PARALLEL -fopenmp -pthread -fPIC -m64 -Wall -Wextra -Wno-write-strings -Wno-unused -Wno-char-subscripts -Wno-sign-compare -Wformat -g3 -O4 -funroll-loops -fexpensive-optimizations -finline-functions -fomit-frame-pointer -DNOBACKTRACE -I/private/tmp/canu-20180522-7501-nkpe2y/canu-1.7/src -IAS_UTL -Istores -Istores/libsnappy -Ialignment -Iutgcns/libNDalign -Iutgcns/libcns -Iutgcns/libpbutgcns -Iutgcns/libNDFalcon -Iutgcns/libboost -Imeryl/libleaff -IoverlapInCore -IoverlapInCore/libedlib -IoverlapInCore/liboverlap -Ifalcon_sense/libfalcon utgcns/libNDalign/NDalgorithm-allocateMoreSpace.C
In file included from utgcns/libNDalign/NDalign.C:39:
AS_UTL/stddev.H: In member function 'std::vector<long long unsigned int>& genericStatistics<TT>::histogram()':
AS_UTL/stddev.H:341:12: error: invalid initialization of non-const reference of type 'std::vector<long long unsigned int>&' from an rvalue of type 'std::vector<long long unsigned int>*'
     return(&_histogram);

https://circleci.com/gh/brewsci/homebrew-bio/2679

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions