[Debian-med-packaging] Bug#984243: Help: mothur: ftbfs with GCC-11
Andreas Tille
tille at debian.org
Fri Oct 22 06:59:28 BST 2021
Hi Aaron,
Am Thu, Oct 21, 2021 at 04:21:26PM -0400 schrieb Aaron M. Ucko:
>
> 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.
OK, I've implemented this in my last commit.
> 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.
I confirm these linking errors but I fail to interpret your hint here.
Isn't
# Get the list of all .cpp files, rename to .o files
#
OBJECTS=$(patsubst %.cpp,%.o,$(wildcard $(addsuffix *.cpp,$(subdirs))))
OBJECTS+=$(patsubst %.c,%.o,$(wildcard $(addsuffix *.c,$(subdirs))))
OBJECTS+=$(patsubst %.cpp,%.o,$(wildcard *.cpp))
OBJECTS+=$(patsubst %.c,%.o,$(wildcard *.c))
the right way to get the path correctly? Or what do you mean?
Kind regards
Andreas.
> [1] https://en.cppreference.com/w/cpp/types/byte
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list