diff --git a/test/packetmath.cpp b/test/packetmath.cpp index 11e5644bc..d560d005c 100644 --- a/test/packetmath.cpp +++ b/test/packetmath.cpp @@ -10,6 +10,9 @@ #include "main.h" +#if defined __GNUC__ && __GNUC__>=6 + #pragma GCC diagnostic ignored "-Wignored-attributes" +#endif // using namespace Eigen; namespace Eigen {