aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/DisableMSVCWarnings.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Core/util/DisableMSVCWarnings.h')
-rw-r--r--Eigen/src/Core/util/DisableMSVCWarnings.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Eigen/src/Core/util/DisableMSVCWarnings.h b/Eigen/src/Core/util/DisableMSVCWarnings.h
new file mode 100644
index 000000000..8152db5ff
--- /dev/null
+++ b/Eigen/src/Core/util/DisableMSVCWarnings.h
@@ -0,0 +1,9 @@
+#ifndef EIGEN_DISABLEMSVCWARNINGS_H
+#define EIGEN_DISABLEMSVCWARNINGS_H
+
+#ifdef _MSC_VER
+ #pragma warning( push )
+ #pragma warning( disable : 4181 4244 4127 )
+#endif
+
+#endif // EIGEN_DISABLEMSVCWARNINGS_H \ No newline at end of file