From b18e8e23bf843f65c1479cba0947ed3d7ecfa58c Mon Sep 17 00:00:00 2001 From: Enrico Seiler Date: Tue, 11 Jul 2023 16:57:50 +0200 Subject: [PATCH 1/2] [FIX] gcc14: missing include --- include/seqan3/alphabet/quality/phred_base.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/seqan3/alphabet/quality/phred_base.hpp b/include/seqan3/alphabet/quality/phred_base.hpp index 5c5bae4d8f..347dbbf26b 100644 --- a/include/seqan3/alphabet/quality/phred_base.hpp +++ b/include/seqan3/alphabet/quality/phred_base.hpp @@ -12,6 +12,8 @@ #pragma once +#include + #include #include #include From e800a255c0c61f9bac891eadf716a337254b054f Mon Sep 17 00:00:00 2001 From: Enrico Seiler Date: Tue, 11 Jul 2023 17:18:58 +0200 Subject: [PATCH 2/2] [FIX] gcc14: asan stack-use-after-scope --- test/performance/search/index_construction_benchmark.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/performance/search/index_construction_benchmark.cpp b/test/performance/search/index_construction_benchmark.cpp index b93c94384d..a5ca51781e 100644 --- a/test/performance/search/index_construction_benchmark.cpp +++ b/test/performance/search/index_construction_benchmark.cpp @@ -26,10 +26,11 @@ static constexpr size_t seed{0x6126f}; static void arguments(benchmark::internal::Benchmark * b) { #ifndef NDEBUG - for (int32_t length : {50, 5000}) + constexpr std::array values{50, 5000}; #else - for (int32_t length : {50, 5000, 50'000}) + constexpr std::array values{50, 5000, 50'000}; #endif // NDEBUG + for (int32_t length : values) { if (length > max_length) throw std::logic_error{"Increase max_length to at least " + std::to_string(length)};