mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix c++11 deprecated warning
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user