Remove ICC warning in nomalloc unit test.

This commit is contained in:
Gael Guennebaud 2013-02-26 18:10:19 +01:00
parent fe2c8e1c36
commit 61a2995d03

View File

@ -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