aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/nomalloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/nomalloc.cpp')
-rw-r--r--test/nomalloc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/nomalloc.cpp b/test/nomalloc.cpp
index d4ffcefcb..a05bcb3ee 100644
--- a/test/nomalloc.cpp
+++ b/test/nomalloc.cpp
@@ -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