Skip to content

Commit c354f64

Browse files
committed
[FIX] gcc-15 and clang-20
1 parent 700d02c commit c354f64

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

include/seqan3/core/algorithm/algorithm_result_generator_range.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class algorithm_result_generator_range
7070
//!\brief Explicit deletion to forbid copy construction of the underlying executor.
7171
explicit algorithm_result_generator_range(algorithm_executor_type const & algorithm_executor) = delete;
7272

73+
SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY_START(-Warray-bounds)
7374
/*!\brief Constructs a new algorithm range by taking ownership over the passed algorithm buffer.
7475
*
7576
* \param[in] algorithm_executor The buffer to take ownership from.
@@ -81,6 +82,7 @@ class algorithm_result_generator_range
8182
explicit algorithm_result_generator_range(algorithm_executor_type && algorithm_executor) :
8283
algorithm_executor_ptr{std::make_unique<algorithm_executor_type>(std::move(algorithm_executor))}
8384
{}
85+
SEQAN3_WORKAROUND_GCC_BOGUS_MEMCPY_STOP
8486
//!\}
8587

8688
/*!\name Iterators

include/seqan3/utility/detail/type_name_as_string.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# include <cxxabi.h>
1414
#endif // defined(__GNUC__) || defined(__clang__)
1515

16+
#include <cstdlib>
1617
#include <functional>
1718
#include <memory>
1819
#include <string>

test/external_project/install-sharg.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ endif ()
1212
ExternalProject_Add (
1313
sharg_test_prerequisite
1414
PREFIX sharg_test_prerequisite
15-
URL "https://github.com/seqan/sharg-parser/releases/download/1.1.1/sharg-1.1.1-Source.tar.xz"
16-
URL_HASH SHA256=7330f06501718e7871e55e5fd70d0e41472cc8b34bd0e3519f8c5547510c671c
15+
URL "https://github.com/seqan/sharg-parser/archive/be113bcffe49c0d62cbd65a191820f05386aa8da.tar.gz"
16+
URL_HASH SHA256=d4a723f58865d0a737299d3c6bd85addc912add89b93e6aba43d4836ed4980d1
1717
CMAKE_ARGS ${SEQAN3_EXTERNAL_PROJECT_CMAKE_ARGS} #
1818
"-DCMAKE_INSTALL_PREFIX=${SEQAN3_SYSTEM_PREFIX}"
1919
STEP_TARGETS configure install

0 commit comments

Comments
 (0)