core: Disable error on class-memaccess from Eigen

This commit is contained in:
Gabriel Ferreira
2025-03-08 18:41:37 +00:00
parent 1e21fa478b
commit b08e755f07

View File

@@ -9,7 +9,17 @@
#include "matrix-array.h"
#ifdef HAVE_EIGEN3
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wclass-memaccess"
#endif
#include <Eigen/Dense>
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic pop
#endif
#endif
namespace ns3