Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] clang+gcc9: error: call to non-static member function without an object argument #2795

Merged
merged 2 commits into from
Aug 24, 2021

Conversation

marehr
Copy link
Member

@marehr marehr commented Aug 23, 2021

/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<std::ranges::range_value_t<inner_range_type>>;
                                          ^
/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<index>(to_rank());
                                             ^~~~~~~

Part of seqan/product_backlog#127

…ed 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<std::ranges::range_value_t<inner_range_type>>;
                                          ^
```
…n 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<index>(to_rank());
                                             ^~~~~~~
```
@marehr marehr requested review from a team and MitraDarja and removed request for a team August 23, 2021 22:27
@vercel
Copy link

vercel bot commented Aug 23, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/seqan/seqan3/HKaXxDp9unsGb6Pu2VSGowVTfVbT
✅ Preview: https://seqan3-git-fork-marehr-clang24-seqan.vercel.app

@codecov
Copy link

codecov bot commented Aug 23, 2021

Codecov Report

Merging #2795 (ddcd72d) into master (6b41c1f) will increase coverage by 0.15%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2795      +/-   ##
==========================================
+ Coverage   98.21%   98.37%   +0.15%     
==========================================
  Files         271      272       +1     
  Lines       10827    10873      +46     
==========================================
+ Hits        10634    10696      +62     
+ Misses        193      177      -16     
Impacted Files Coverage Δ
include/seqan3/utility/simd/views/to_simd.hpp 91.52% <ø> (ø)
.../seqan3/alphabet/composite/alphabet_tuple_base.hpp 100.00% <100.00%> (ø)
...clude/seqan3/utility/bloom_filter/bloom_filter.hpp 100.00% <0.00%> (ø)
include/seqan3/argument_parser/validators.hpp 100.00% <0.00%> (+8.60%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b41c1f...ddcd72d. Read the comment docs.

@eseiler eseiler merged commit 76c4508 into seqan:master Aug 24, 2021
@marehr marehr deleted the clang24 branch August 25, 2021 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants