guard warning supression with a gcc version
parent
8b26c1e70b
commit
d22546edad
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
#include <gtsam/linear/linearExceptions.h>
|
#include <gtsam/linear/linearExceptions.h>
|
||||||
|
|
||||||
#if defined(__GNUC__) && !defined(__clang__)
|
#if defined(__GNUC__) && !defined(__clang__) && __GNUC__ >= 13
|
||||||
#pragma GCC diagnostic warning "-Wstringop-overread"
|
#pragma GCC diagnostic warning "-Wstringop-overread"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue