From 61a2995d03e8950d706a45589a3aface84bbdba3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 26 Feb 2013 18:10:19 +0100 Subject: Remove ICC warning in nomalloc unit test. --- test/nomalloc.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/nomalloc.cpp') 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 -- cgit v1.2.3