mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
fix c++11 deprecated warning
This commit is contained in:
parent
6cc9b2c831
commit
c6e2dde714
@ -9,6 +9,12 @@
|
|||||||
|
|
||||||
#ifdef EIGEN_TEST_PART_2
|
#ifdef EIGEN_TEST_PART_2
|
||||||
#define EIGEN_MAX_CPP_VER 03
|
#define EIGEN_MAX_CPP_VER 03
|
||||||
|
|
||||||
|
// see indexed_view.cpp
|
||||||
|
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8))
|
||||||
|
#pragma GCC diagnostic ignored "-Wdeprecated"
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user