Skip to content

Commit

Permalink
Silence a warning about a memcpy overread for gcc 13
Browse files Browse the repository at this point in the history
  • Loading branch information
jmackay2 committed Jan 25, 2025
1 parent a744cfc commit 8b26c1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gtsam/linear/JacobianFactor-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@

#include <gtsam/linear/linearExceptions.h>

#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic warning "-Wstringop-overread"
#endif

namespace gtsam {

/* ************************************************************************* */
Expand Down

0 comments on commit 8b26c1e

Please sign in to comment.