Skip to content

Commit

Permalink
Merge pull request #3277 from eseiler/infra/nightly
Browse files Browse the repository at this point in the history
[INFRA] Nightly fixes
  • Loading branch information
eseiler authored Jul 19, 2024
2 parents 3bb0048 + 33f3eba commit 8c1a881
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ Note that 3.1.0 will be the first API stable release and interfaces in this rele
* The order of tags within the header may be arbitrary. Before, necessary tags where required to be first.
* Unknown tags will emit a warning. Before, a error was raised.

## API changes
<a name="api303"></a>
## API changes {#api303}

Most of our API or header file changes will trigger a deprecation warning to let you know if something changed and, if
applicable, when it will be removed. We recommend upgrading version-by-version to check whether you need to change code.
You can either directly check the reported code or verify with our documentation how the new API should be used.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,15 @@ class pairwise_alignment_algorithm_banded :
size_t const sequence1_size = std::ranges::distance(simd_seq1_collection);
size_t const sequence2_size = std::ranges::distance(simd_seq2_collection);

#if SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wstringop-overflow"
#endif // SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY
auto && [alignment_matrix, index_matrix] =
this->acquire_matrices(sequence1_size, sequence2_size, this->lowest_viable_score());
#if SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY
# pragma GCC diagnostic pop
#endif // SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY

compute_matrix(simd_seq1_collection, simd_seq2_collection, alignment_matrix, index_matrix);

Expand Down
2 changes: 1 addition & 1 deletion include/seqan3/core/platform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ static_assert(sdsl::sdsl_version_major == 3, "Only version 3 of the SDSL is supp
* \see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105545
*/
#ifndef SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY
# if SEQAN3_COMPILER_IS_GCC && (__GNUC__ == 12 || __GNUC__ == 13 || __GNUC__ == 14)
# if SEQAN3_COMPILER_IS_GCC && (__GNUC__ >= 12)
# define SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY 1
# else
# define SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY 0
Expand Down

0 comments on commit 8c1a881

Please sign in to comment.