diff options
-rw-r--r-- | test/AnnoyingScalar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/AnnoyingScalar.h b/test/AnnoyingScalar.h index 2b6544a6a..889e6cc86 100644 --- a/test/AnnoyingScalar.h +++ b/test/AnnoyingScalar.h @@ -12,6 +12,10 @@ #include <ostream> +#if EIGEN_COMP_GNUC +#pragma GCC diagnostic ignored "-Wshadow" +#endif + #ifndef EIGEN_TEST_ANNOYING_SCALAR_DONT_THROW struct my_exception { |