[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

C++ help needed for new version of pbdagcon


I've updated pbdagcon[1] to latest upstream commit.  Unfortunately the
build fails with:

g++ -g -O2 -fdebug-prefix-map=/build/pbdagcon-0.3+git20180411.c14c422+ds=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -std=c++11 -Wall -Wuninitialized -pedantic -Wdate-time -D_FORTIFY_SOURCE=
In file included from DazAlnProvider.cpp:10:
DazAlnProvider.hpp:97:19: error: expected ')' before '&' token
     Target(DAZZ_DB& db, int tspace, int small);
           ~       ^
DazAlnProvider.hpp:122:5: error: 'DAZZ_DB' does not name a type
     DAZZ_DB db_;
DazAlnProvider.hpp:161:5: error: 'DAZZ_DB' does not name a type
     DAZZ_DB db_;
DazAlnProvider.cpp: In constructor 'DazAlnProvider::DazAlnProvider(const ProgramOpts&)':
DazAlnProvider.cpp:34:33: error: 'db_' was not declared in this scope
     int status = Open_DB(path, &db_);
DazAlnProvider.cpp: In destructor 'virtual DazAlnProvider::~DazAlnProvider()':
DazAlnProvider.cpp:74:15: error: 'db_' was not declared in this scope
DazAlnProvider.cpp: In member function 'virtual bool DazAlnProvider::nextTarget(std::__cxx11::string&, std::vector<dagcon::Alignment>&)':
DazAlnProvider.cpp:125:25: error: 'db_' was not declared in this scope
     seq = Load_Subread(&db_, trg_->id, 0, trg_->length, targSeqBuf_, 0);
DazAlnProvider.cpp: At global scope:
DazAlnProvider.cpp:225:15: error: expected constructor, destructor, or type conversion before '(' token
 Target::Target(DAZZ_DB& db, int tspace, int small) :
DazAlnProvider.cpp: In member function 'void Target::firstRecord(Record&, bool)':

Any hint how to fix this?

Kind regards


[1] https://salsa.debian.org/med-team/pbdagcon


Reply to: