diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-10-08 18:26:05 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-10-08 18:26:05 +0200 |
commit | c6e2dde714164a1373cba78903107ee28f83286c (patch) | |
tree | 9d520d4e2c93188e73fa789e520df20f4050a8b5 /test/symbolic_index.cpp | |
parent | 6cc9b2c831de95a4798d474e7d007e074d27ff1d (diff) |
fix c++11 deprecated warning
Diffstat (limited to 'test/symbolic_index.cpp')
-rw-r--r-- | test/symbolic_index.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/symbolic_index.cpp b/test/symbolic_index.cpp index bccf1b884..ea73e99e9 100644 --- a/test/symbolic_index.cpp +++ b/test/symbolic_index.cpp @@ -9,6 +9,12 @@ #ifdef EIGEN_TEST_PART_2 #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 #include "main.h" |