aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/DisableStupidWarnings.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2016-12-20 22:53:19 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2016-12-20 22:53:19 +0100
commitf2f9df8aa57d7a303eb113c251245e315f2ad2b7 (patch)
treedb2f1a4163a45ff4b6891bd1ad669dd1b1cf6481 /Eigen/src/Core/util/DisableStupidWarnings.h
parent2b3fc981b8603820982429520d4362d6b9607bda (diff)
Remove MSVC warning 4127 - conditional expression is constant from the disabled list as we now have a local workaround.
Diffstat (limited to 'Eigen/src/Core/util/DisableStupidWarnings.h')
-rwxr-xr-xEigen/src/Core/util/DisableStupidWarnings.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Eigen/src/Core/util/DisableStupidWarnings.h b/Eigen/src/Core/util/DisableStupidWarnings.h
index 21f80d86b..4431f2fc4 100755
--- a/Eigen/src/Core/util/DisableStupidWarnings.h
+++ b/Eigen/src/Core/util/DisableStupidWarnings.h
@@ -4,7 +4,6 @@
#ifdef _MSC_VER
// 4100 - unreferenced formal parameter (occurred e.g. in aligned_allocator::destroy(pointer p))
// 4101 - unreferenced local variable
- // 4127 - conditional expression is constant
// 4181 - qualifier applied to reference type ignored
// 4211 - nonstandard extension used : redefined extern to static
// 4244 - 'argument' : conversion from 'type1' to 'type2', possible loss of data
@@ -20,7 +19,7 @@
#ifndef EIGEN_PERMANENTLY_DISABLE_STUPID_WARNINGS
#pragma warning( push )
#endif
- #pragma warning( disable : 4100 4101 4127 4181 4211 4244 4273 4324 4503 4512 4522 4700 4714 4717 4800)
+ #pragma warning( disable : 4100 4101 4181 4211 4244 4273 4324 4503 4512 4522 4700 4714 4717 4800)
#elif defined __INTEL_COMPILER
// 2196 - routine is both "inline" and "noinline" ("noinline" assumed)