mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix numerous shadow-warnings for GCC<=4.8
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user