Skip to content

Commit 101a00d

Browse files
authored
Merge pull request #299 from eseiler/fix/clang-21
[FIX] Clang-21
2 parents 71f0cb3 + e239eaf commit 101a00d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/hibf/misc/bit_vector.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,10 @@ class bit_vector :
948948
# if (_LIBCPP_VERSION < 200000)
949949
std::__compressed_pair<pointer, allocator_t> end_cap;
950950
# else
951+
# pragma GCC diagnostic push
952+
# pragma GCC diagnostic ignored "-Wgnu-anonymous-struct" // Warning since clang-21
951953
_LIBCPP_COMPRESSED_PAIR(pointer, end_cap = nullptr, allocator_type, allocator);
954+
# pragma GCC diagnostic pop
952955
# endif
953956
};
954957

0 commit comments

Comments
 (0)