-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Build fails:
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I/usr/local/include -I/usr/local/include/ViennaRNA -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/catch2 -MT LocARNA/sequence.lo -MD -MP -MF LocARNA/.deps/sequence.Tpo -c LocARNA/sequence.cc -fPIC -DPIC -o LocARNA/.libs/sequence.o
LocARNA/scoring.cc:57:29: error: no member named 'bind2nd' in namespace 'std'
std::bind2nd(std::minus<score_t>(), x));
~~~~~^
LocARNA/scoring.cc:61:26: error: no member named 'bind2nd' in namespace 'std'
m.transform(std::bind2nd(std::minus<score_t>(), x));
~~~~~^
2 errors generated.
According to the docs std::bind2nd was removed in C++17.
Compilers that default to C++17 or C++20 fail to compile such code.
Version: 2.0.0
clang-16
FreeBSD 13.2
Metadata
Metadata
Assignees
Labels
No labels