From 35df3a32eb7f41e8c6859c2e94490148145c069c Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 26 May 2016 17:42:58 +0200 Subject: [PATCH] Disabled GCC6's ignored-attributes warning in packetmath unit test. --- test/packetmath.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 {