Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ulog_cpp/messages.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,14 +434,14 @@ class Value {
throw AccessException("Unexpected data type size");
}
// GCC 14.2 raises an error here when building with -fsanitize=address
#ifdef __GNUC__
#if defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Warray-bounds"
#pragma GCC diagnostic ignored "-Wstringop-overflow"
#endif
std::copy(backing_start + total_offset, backing_start + total_offset + sizeof(v),
reinterpret_cast<uint8_t*>(&v));
#ifdef __GNUC__
#if defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic pop
#endif
return v;
Expand Down
Loading