Silence a warning about a memcpy overread for gcc 13

release/4.3a0
jmackay2 2025-01-25 00:37:38 -05:00
parent a744cfcdd8
commit 8b26c1e70b
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__)
#pragma GCC diagnostic warning "-Wstringop-overread"
#endif
namespace gtsam {
/* ************************************************************************* */