Commit d1b54310 authored by Hamdi Sahloul's avatar Hamdi Sahloul

MSVC: Slience external/meaningless warnings

parent 1fe10ef5
......@@ -36,10 +36,19 @@
#include "precomp.hpp"
#if defined(HAVE_EIGEN) && EIGEN_WORLD_VERSION == 3
#define HAVE_EIGEN3_HERE
#include <Eigen/Core>
#include <unsupported/Eigen/MatrixFunctions>
#include <Eigen/Dense>
# define HAVE_EIGEN3_HERE
# if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable:4701) // potentially uninitialized local variable
# pragma warning(disable:4702) // unreachable code
# pragma warning(disable:4714) // const marked as __forceinline not inlined
# endif
# include <Eigen/Core>
# include <unsupported/Eigen/MatrixFunctions>
# include <Eigen/Dense>
# if defined(_MSC_VER)
# pragma warning(pop)
# endif
#endif
namespace cv
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment