[Debian-med-packaging] Bug#984243: Help: mothur: ftbfs with GCC-11
Aaron M. Ucko
ucko at debian.org
Thu Oct 21 21:21:26 BST 2021
Steffen Möller <steffen_moeller at gmx.de> writes:
> My C++ skills are a bit rosty but would removing the typedef for byte
> solve the problem?
No, because std::byte supports far too few operations [1]. Instead, I'd
suggest encouraging upstream to rename their type, and meanwhile locally
patching source/uchime_src/makefile to add -std=c++14 to CXXFLAGS,
thereby suppressing std::byte for now.
I also found massive link errors, resolvable by correcting the top-level
Makefile to pick up source/*.cpp and source/*.c rather than the
nonexistent *.cpp and *.c.
[1] https://en.cppreference.com/w/cpp/types/byte
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu
More information about the Debian-med-packaging
mailing list