mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-22 01:29:35 +08:00
Remove ICC warning in nomalloc unit test.
This commit is contained in:
parent
fe2c8e1c36
commit
61a2995d03
@ -12,6 +12,12 @@
|
|||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#define throw(X)
|
#define throw(X)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __INTEL_COMPILER
|
||||||
|
// disable "warning #76: argument to macro is empty" produced by the above hack
|
||||||
|
#pragma warning disable 76
|
||||||
|
#endif
|
||||||
|
|
||||||
// discard stack allocation as that too bypasses malloc
|
// discard stack allocation as that too bypasses malloc
|
||||||
#define EIGEN_STACK_ALLOCATION_LIMIT 0
|
#define EIGEN_STACK_ALLOCATION_LIMIT 0
|
||||||
// any heap allocation will raise an assert
|
// any heap allocation will raise an assert
|
||||||
|
Loading…
x
Reference in New Issue
Block a user