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

add GCC9 support, update range-v3 to 1.0-beta #708

Merged
merged 18 commits into from
Feb 1, 2019
Merged

Conversation

h-2
Copy link
Member

@h-2 h-2 commented Jan 29, 2019

Please review, but do not merge, yet. I recommend reviewing commit-by-commit.

We need to have the blockers fixed, before we can merge this (everything builds locally with applied patches in range-v3 and sdsl).

Blockers (GCC7 and GCC8):

Blockers (GCC9, fixes available in next snapshot):

Copy link
Member

@eseiler eseiler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some minor questions

{
#else // GCC/Clang extension
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would be the warning we're ignoring here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code below is an extension in GCC/Clang, GCC9 now warns in pedantic mode that this extension is not canonical c++ and never made it into C++20.

include/seqan3/std/iterator Outdated Show resolved Hide resolved
include/seqan3/std/type_traits Show resolved Hide resolved
include/seqan3/std/view/subrange.hpp Show resolved Hide resolved
/*!\typedef std::ranges::default_sentinel_t
* \brief Alias for ranges::default_sentinel_t. Type of ranges::default_sentinel.
*/
using SEQAN3_DOXYGEN_ONLY(default_sentinel_t =) ::ranges::default_sentinel_t;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these changes rather belong to commit 40e7c35 ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes and no, I like to keep the file changes together and I think "adapting std" is a good logical unit and changes in our library are then different.


//!\cond
template <typename t>
requires true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

o.0 huh.. what hacky workaround is this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in presence of a previous definition these lines appear as a specialisation, but in the absence of a previous definition, these appear as the definition.

@@ -103,7 +103,9 @@ seqan3_require_test ()

seqan3_header_test (seqan3 "${SEQAN3_CLONE_DIR}/include")
seqan3_header_test (seqan3_test "${SEQAN3_CLONE_DIR}/test/include")
seqan3_header_test (range-v3 "${SEQAN3_CLONE_DIR}/submodules/range-v3/include")

# contains deprecated that error on inlusion
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍺

@codecov
Copy link

codecov bot commented Feb 1, 2019

Codecov Report

Merging #708 into master will increase coverage by 0.03%.
The diff coverage is 90%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #708      +/-   ##
==========================================
+ Coverage   94.09%   94.13%   +0.03%     
==========================================
  Files         152      152              
  Lines        4881     4861      -20     
==========================================
- Hits         4593     4576      -17     
+ Misses        288      285       -3
Impacted Files Coverage Δ
include/seqan3/io/structure_file/output.hpp 100% <ø> (ø) ⬆️
include/seqan3/range/view/persist.hpp 100% <ø> (ø) ⬆️
include/seqan3/io/sequence_file/format_fasta.hpp 100% <ø> (ø) ⬆️
include/seqan3/io/sequence_file/input.hpp 98.33% <ø> (ø) ⬆️
...qan3/alignment/pairwise/edit_distance_unbanded.hpp 83.95% <ø> (ø) ⬆️
include/seqan3/range/view/take.hpp 93.33% <ø> (-1.41%) ⬇️
include/seqan3/io/sequence_file/output.hpp 98.43% <ø> (-0.07%) ⬇️
include/seqan3/io/structure_file/format_vienna.hpp 97.05% <ø> (-0.05%) ⬇️
include/seqan3/io/alignment_file/output.hpp 95.45% <ø> (ø) ⬆️
include/seqan3/io/structure_file/input.hpp 98.55% <ø> (ø) ⬆️
... and 33 more

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 45a93d1...9f67801. Read the comment docs.

@h-2 h-2 requested a review from rrahn February 1, 2019 16:11
Copy link
Contributor

@rrahn rrahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@h-2 h-2 merged commit 04ffa65 into seqan:master Feb 1, 2019
@rrahn rrahn mentioned this pull request May 20, 2019
2 tasks
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.

4 participants