Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
03b3be0f
Commit
03b3be0f
authored
Sep 12, 2018
by
Hamdi Sahloul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSVC: Slience external/meaningless warnings
parent
38f8fc6c
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
6 deletions
+51
-6
dls.cpp
modules/calib3d/src/dls.cpp
+9
-0
private.hpp
modules/core/include/opencv2/core/private.hpp
+9
-0
cuda_stream.cpp
modules/core/src/cuda_stream.cpp
+4
-0
lapack.cpp
modules/core/src/lapack.cpp
+12
-3
opengl.cpp
modules/core/src/opengl.cpp
+4
-0
matchers.cpp
modules/features2d/src/matchers.cpp
+10
-1
cv2.cpp
modules/python/src2/cv2.cpp
+3
-2
No files found.
modules/calib3d/src/dls.cpp
View file @
03b3be0f
...
...
@@ -7,8 +7,17 @@
# if defined __GNUC__ && defined __APPLE__
# pragma GCC diagnostic ignored "-Wshadow"
# endif
# 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 <Eigen/Eigenvalues>
# if defined(_MSC_VER)
# pragma warning(pop)
# endif
# include "opencv2/core/eigen.hpp"
#endif
...
...
modules/core/include/opencv2/core/private.hpp
View file @
03b3be0f
...
...
@@ -57,7 +57,16 @@
# if defined __GNUC__ && defined __APPLE__
# pragma GCC diagnostic ignored "-Wshadow"
# endif
# 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>
# if defined(_MSC_VER)
# pragma warning(pop)
# endif
# include "opencv2/core/eigen.hpp"
#endif
...
...
modules/core/src/cuda_stream.cpp
View file @
03b3be0f
...
...
@@ -45,6 +45,10 @@
using
namespace
cv
;
using
namespace
cv
::
cuda
;
#if defined(_MSC_VER)
#pragma warning(disable : 4702) // unreachable code
#endif
/////////////////////////////////////////////////////////////
/// MemoryStack
...
...
modules/core/src/lapack.cpp
View file @
03b3be0f
...
...
@@ -44,9 +44,18 @@
#include <limits>
#ifdef HAVE_EIGEN
#include <Eigen/Core>
#include <Eigen/Eigenvalues>
#include "opencv2/core/eigen.hpp"
# 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 <Eigen/Eigenvalues>
# if defined(_MSC_VER)
# pragma warning(pop)
# endif
# include "opencv2/core/eigen.hpp"
#endif
#if defined _M_IX86 && defined _MSC_VER && _MSC_VER < 1700
...
...
modules/core/src/opengl.cpp
View file @
03b3be0f
...
...
@@ -54,6 +54,10 @@
using
namespace
cv
;
using
namespace
cv
::
cuda
;
#if defined(_MSC_VER)
#pragma warning(disable : 4702) // unreachable code
#endif
namespace
{
#ifndef HAVE_OPENGL
...
...
modules/features2d/src/matchers.cpp
View file @
03b3be0f
...
...
@@ -44,7 +44,16 @@
#include "opencl_kernels_features2d.hpp"
#if defined(HAVE_EIGEN) && EIGEN_WORLD_VERSION == 2
#include <Eigen/Array>
# 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/Array>
# if defined(_MSC_VER)
# pragma warning(pop)
# endif
#endif
namespace
cv
...
...
modules/python/src2/cv2.cpp
View file @
03b3be0f
#if defined(_MSC_VER) && (_MSC_VER >= 1800)
//warning number '5033' not a valid compiler warning in vc12
#if defined(_MSC_VER) && (_MSC_VER > 1800)
// eliminating duplicated round() declaration
#define HAVE_ROUND 1
#pragma warning(push)
...
...
@@ -6,7 +7,7 @@
#endif
#include <math.h>
#include <Python.h>
#if defined(_MSC_VER) && (_MSC_VER >
=
1800)
#if defined(_MSC_VER) && (_MSC_VER > 1800)
#pragma warning(pop)
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment