mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-11 07:31:48 +08:00
Disable ignoring attributes warning
(grafted from 2cf6d3050c42d14819160e2642a5c3dfc449e44a )
This commit is contained in:
parent
18dc2107ea
commit
74a0c08d70
@ -22,6 +22,14 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <typeinfo>
|
#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_flags;
|
||||||
using internal::demangle_traversal;
|
using internal::demangle_traversal;
|
||||||
using internal::demangle_unrolling;
|
using internal::demangle_unrolling;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user