You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to compile octopus with g++ v12.2.0 and I get errors related to std::unary_function being depreciated. I am not sure if removing these would cause problems with earlier versions of gcc. It seems like base class inheritance is being slowly being depreciated.
For example:
src/core/types/shared_haplotype.hpp:105:46: error: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Werror=deprecated-declarations]
105 | struct hash<octopus::SharedHaplotype> : std::unary_function<octopus::SharedHaplotype, std::size_t>
I went through the files and removed the inheritance from the following files and it compiles succesfully:
Hi,
I have been trying to compile octopus with g++ v12.2.0 and I get errors related to std::unary_function being depreciated. I am not sure if removing these would cause problems with earlier versions of gcc. It seems like
base
class inheritance is being slowly being depreciated.For example:
I went through the files and removed the inheritance from the following files and it compiles succesfully:
The text was updated successfully, but these errors were encountered: