mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-20 15:39:08 +08:00
Disable deprecated warnings for SVD tests on MSVC.
(cherry picked from commit d58e62913081d3667605fd3fa9d525d4e378dd00)
This commit is contained in:
parent
bb1dbb4df6
commit
72e38684c1
@ -13,8 +13,10 @@
|
||||
// We explicitly disable deprecated declarations for this set of tests
|
||||
// because we purposely verify assertions for the deprecated SVD runtime
|
||||
// option behavior.
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#elif defined(_MSC_VER)
|
||||
#pragma warning( disable : 4996 )
|
||||
#endif
|
||||
|
||||
// discard stack allocation as that too bypasses malloc
|
||||
|
@ -11,8 +11,10 @@
|
||||
// We explicitly disable deprecated declarations for this set of tests
|
||||
// because we purposely verify assertions for the deprecated SVD runtime
|
||||
// option behavior.
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#elif defined(_MSC_VER)
|
||||
#pragma warning( disable : 4996 )
|
||||
#endif
|
||||
|
||||
// discard stack allocation as that too bypasses malloc
|
||||
|
Loading…
x
Reference in New Issue
Block a user