From 0d72951b445e3a638a0d8e6e33eb0417a9f09397 Mon Sep 17 00:00:00 2001 From: marehr Date: Thu, 22 Apr 2021 19:29:57 +0200 Subject: [PATCH 1/2] [FIX] clang+gcc9: error: variable 'alphabet_size' declared with deduced type 'const auto' cannot appear in its own initializer ``` /seqan3/include/seqan3/utility/simd/views/to_simd.hpp:97:43: error: variable 'alphabet_size' declared with deduced type 'const auto' cannot appear in its own initializer static constexpr auto alphabet_size = alphabet_size>; ^ ``` --- include/seqan3/utility/simd/views/to_simd.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/seqan3/utility/simd/views/to_simd.hpp b/include/seqan3/utility/simd/views/to_simd.hpp index 410501ccf4..3e38fe4887 100644 --- a/include/seqan3/utility/simd/views/to_simd.hpp +++ b/include/seqan3/utility/simd/views/to_simd.hpp @@ -96,7 +96,7 @@ class view_to_simd : public std::ranges::view_interface>; + static constexpr auto alphabet_size = seqan3::alphabet_size>; //!\} // Forward declare class' iterator type. See definition below. From ddcd72d1fd9ac19184492ac85d5f1b4dbb75c960 Mon Sep 17 00:00:00 2001 From: marehr Date: Tue, 10 Aug 2021 15:35:36 +0200 Subject: [PATCH 2/2] [FIX] clang+gcc9: error: call to non-static member function without an object argument ``` /seqan3/include/seqan3/alphabet/composite/alphabet_tuple_base.hpp:691:46: error: call to non-static member function without an object argument parent->assign_component_rank(to_rank()); ^~~~~~~ ``` --- include/seqan3/alphabet/composite/alphabet_tuple_base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/seqan3/alphabet/composite/alphabet_tuple_base.hpp b/include/seqan3/alphabet/composite/alphabet_tuple_base.hpp index 2896800d3e..865d20fcc0 100644 --- a/include/seqan3/alphabet/composite/alphabet_tuple_base.hpp +++ b/include/seqan3/alphabet/composite/alphabet_tuple_base.hpp @@ -686,7 +686,7 @@ class alphabet_tuple_base::component_proxy : p //!\brief The implementation updates the rank in the parent object. constexpr void on_update() noexcept { - parent->assign_component_rank(to_rank()); + parent->assign_component_rank(this->to_rank()); } public: