diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-09-20 11:38:19 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-09-20 11:38:19 +0200 |
commit | 2cf6d3050c42d14819160e2642a5c3dfc449e44a (patch) | |
tree | ff3cb42f226c1b65e5f330bebc4ff007a4d00330 /test/vectorization_logic.cpp | |
parent | 44d8274383d379172bedc7eed4cbc5c6ce4f88a2 (diff) |
Disable ignoring attributes warning
Diffstat (limited to 'test/vectorization_logic.cpp')
-rw-r--r-- | test/vectorization_logic.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/vectorization_logic.cpp b/test/vectorization_logic.cpp index 01b55e192..c15f75103 100644 --- a/test/vectorization_logic.cpp +++ b/test/vectorization_logic.cpp @@ -22,6 +22,14 @@ #include "main.h" #include <typeinfo> +// Disable "ignoring attributes on template argument" +// for packet_traits<Packet*> +// => The only workaround would be to wrap _m128 and the likes +// within wrappers. +#if EIGEN_GNUC_AT_LEAST(6,0) + #pragma GCC diagnostic ignored "-Wignored-attributes" +#endif + using internal::demangle_flags; using internal::demangle_traversal; using internal::demangle_unrolling; |