Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scanning dependencies of target spades
- [ 87%] Building CXX object projects/spades/CMakeFiles/spades.dir/main.cpp.o
- In file included from /tmp/SBo/SPAdes-3.10.1/src/projects/spades/main.cpp:14:0:
- /tmp/SBo/SPAdes-3.10.1/src/common/utils/segfault_handler.hpp:17:18: error: ‘function’ in namespace ‘std’ does not name a template type
- typedef std::function<void()> callback_t;
- ^~~~~~~~
- /tmp/SBo/SPAdes-3.10.1/src/common/utils/segfault_handler.hpp:21:33: error: expected ‘)’ before ‘const’
- segfault_handler(callback_t const &cb = 0) {
- ^~~~~
- /tmp/SBo/SPAdes-3.10.1/src/common/utils/segfault_handler.hpp:35:12: error: ‘callback_t’ does not name a type; did you mean ‘clock_t’?
- static callback_t &callback() {
- ^~~~~~~~~~
- clock_t
- /tmp/SBo/SPAdes-3.10.1/src/common/utils/segfault_handler.hpp: In destructor ‘segfault_handler::~segfault_handler()’:
- /tmp/SBo/SPAdes-3.10.1/src/common/utils/segfault_handler.hpp:30:9: error: ‘callback’ was not declared in this scope
- callback() = 0;
- ^~~~~~~~
- /tmp/SBo/SPAdes-3.10.1/src/common/utils/segfault_handler.hpp:30:9: note: suggested alternative: ‘calloc’
- callback() = 0;
- ^~~~~~~~
- calloc
- /tmp/SBo/SPAdes-3.10.1/src/common/utils/segfault_handler.hpp: In static member function ‘static void segfault_handler::handler(int)’:
- /tmp/SBo/SPAdes-3.10.1/src/common/utils/segfault_handler.hpp:45:17: error: ‘callback’ was not declared in this scope
- if (callback())
- ^~~~~~~~
- /tmp/SBo/SPAdes-3.10.1/src/common/utils/segfault_handler.hpp:45:17: note: suggested alternative: ‘calloc’
- if (callback())
- ^~~~~~~~
- calloc
- In file included from /tmp/SBo/SPAdes-3.10.1/src/common/sequence/seq.hpp:38:0,
- from /tmp/SBo/SPAdes-3.10.1/src/common/sequence/sequence.hpp:16,
- from /tmp/SBo/SPAdes-3.10.1/src/common/io/reads/single_read.hpp:12,
- from /tmp/SBo/SPAdes-3.10.1/src/common/utils/indices/edge_position_index.hpp:11,
- from /tmp/SBo/SPAdes-3.10.1/src/common/pipeline/graph_pack.hpp:10,
- from /tmp/SBo/SPAdes-3.10.1/src/projects/spades/launch.hpp:12,
- from /tmp/SBo/SPAdes-3.10.1/src/projects/spades/main.cpp:15:
- /tmp/SBo/SPAdes-3.10.1/src/common/sequence/nucl.hpp: In member function ‘bool nucl_complement_functor::operator()(char) const’:
- /tmp/SBo/SPAdes-3.10.1/src/common/sequence/nucl.hpp:84:19: warning: ?: using integer constants in boolean context [-Wint-in-bool-context]
- return cc ? cc : 'N';
- ~~~^~~~~~~~~~
- make[2]: *** [projects/spades/CMakeFiles/spades.dir/build.make:63: projects/spades/CMakeFiles/spades.dir/main.cpp.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:1798: projects/spades/CMakeFiles/spades.dir/all] Error 2
- make: *** [Makefile:152: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement