aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/main.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-09-15 13:03:24 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-09-15 13:03:24 +0200
commit4a6e5694d60ef0dab6ed17e563372c94a2744a31 (patch)
tree0149e852b76cb9e50219b27fbbcea497d2fdc18d /test/main.h
parent9e9abab2b90f7ed006687dc5e3f1671f57e61015 (diff)
disable warning 279: controlling expression is constant for ICC
Diffstat (limited to 'test/main.h')
-rw-r--r--test/main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/main.h b/test/main.h
index 619fc9e06..8c93e856c 100644
--- a/test/main.h
+++ b/test/main.h
@@ -40,6 +40,11 @@
#define DEFAULT_REPEAT 10
+#ifdef __ICC
+// disable warning #279: controlling expression is constant
+#pragma warning disable 279
+#endif
+
namespace Eigen
{
static std::vector<std::string> g_test_stack;