Merge pull request #2002 from jmackay2/gcc13_memcpy_warning

Silence a warning about a memcpy overread for gcc 13
release/4.3a0
Frank Dellaert 2025-02-06 23:11:57 -05:00 committed by GitHub
commit 885e8ef9f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,10 @@
#include <gtsam/linear/linearExceptions.h>
#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 13
#pragma GCC diagnostic warning "-Wstringop-overread"
#endif
namespace gtsam {
/* ************************************************************************* */