mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-01 18:26:24 +08:00
Remove ICC warning in nomalloc unit test.
This commit is contained in:
parent
fe2c8e1c36
commit
61a2995d03
@ -12,6 +12,12 @@
|
||||
#ifdef __GNUC__
|
||||
#define throw(X)
|
||||
#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
|
||||
#define EIGEN_STACK_ALLOCATION_LIMIT 0
|
||||
// any heap allocation will raise an assert
|
||||
|
Loading…
Reference in New Issue
Block a user