diff --git a/CHANGELOG.md b/CHANGELOG.md index d0205e5211..550af27538 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 - +## 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. diff --git a/include/seqan3/alignment/pairwise/detail/pairwise_alignment_algorithm_banded.hpp b/include/seqan3/alignment/pairwise/detail/pairwise_alignment_algorithm_banded.hpp index ac972a067d..3bcc1edf9c 100644 --- a/include/seqan3/alignment/pairwise/detail/pairwise_alignment_algorithm_banded.hpp +++ b/include/seqan3/alignment/pairwise/detail/pairwise_alignment_algorithm_banded.hpp @@ -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); diff --git a/include/seqan3/core/platform.hpp b/include/seqan3/core/platform.hpp index bd5577fd1a..4ca71c4065 100644 --- a/include/seqan3/core/platform.hpp +++ b/include/seqan3/core/platform.hpp @@ -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