We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe10ef commit d1b5431Copy full SHA for d1b5431
modules/rgbd/src/odometry.cpp
@@ -36,10 +36,19 @@
36
#include "precomp.hpp"
37
38
#if defined(HAVE_EIGEN) && EIGEN_WORLD_VERSION == 3
39
-#define HAVE_EIGEN3_HERE
40
-#include <Eigen/Core>
41
-#include <unsupported/Eigen/MatrixFunctions>
42
-#include <Eigen/Dense>
+# define HAVE_EIGEN3_HERE
+# if defined(_MSC_VER)
+# pragma warning(push)
+# pragma warning(disable:4701) // potentially uninitialized local variable
43
+# pragma warning(disable:4702) // unreachable code
44
+# pragma warning(disable:4714) // const marked as __forceinline not inlined
45
+# endif
46
+# include <Eigen/Core>
47
+# include <unsupported/Eigen/MatrixFunctions>
48
+# include <Eigen/Dense>
49
50
+# pragma warning(pop)
51
52
#endif
53
54
namespace cv
0 commit comments