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