Fix numerous shadow-warnings for GCC<=4.8

This commit is contained in:
Christoph Hertzberg
2018-08-28 18:32:39 +02:00
parent ef4d79fed8
commit 73ca600bca
18 changed files with 58 additions and 11 deletions

View File

@@ -10,6 +10,14 @@
#ifndef EIGEN_BLAS_COMMON_H
#define EIGEN_BLAS_COMMON_H
#ifdef __GNUC__
# if __GNUC__<5
// GCC < 5.0 does not like the global Scalar typedef
// we just keep shadow-warnings disabled permanently
# define EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
# endif
#endif
#include "../Eigen/Core"
#include "../Eigen/Jacobi"