Skip to content

Commit

Permalink
guard warning supression with a gcc version
Browse files Browse the repository at this point in the history
  • Loading branch information
jmackay2 committed Feb 7, 2025
1 parent 8b26c1e commit d22546e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtsam/linear/JacobianFactor-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include <gtsam/linear/linearExceptions.h>

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

Expand Down

0 comments on commit d22546e

Please sign in to comment.