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
e900952b
Commit
e900952b
authored
Jul 05, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quiet most of the OSX build warnings
parent
b712bbe9
Hide whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
39 additions
and
10 deletions
+39
-10
perf_precomp.hpp
modules/calib3d/perf/perf_precomp.hpp
+1
-0
test_precomp.hpp
modules/calib3d/test/test_precomp.hpp
+1
-0
rgbdodometry.cpp
modules/contrib/src/rgbdodometry.cpp
+4
-5
test_precomp.hpp
modules/contrib/test/test_precomp.hpp
+1
-0
eigen.hpp
modules/core/include/opencv2/core/eigen.hpp
+5
-5
internal.hpp
modules/core/include/opencv2/core/internal.hpp
+3
-0
perf_precomp.hpp
modules/core/perf/perf_precomp.hpp
+1
-0
test_precomp.hpp
modules/core/test/test_precomp.hpp
+1
-0
perf_precomp.hpp
modules/features2d/perf/perf_precomp.hpp
+1
-0
matchers.cpp
modules/features2d/src/matchers.cpp
+1
-0
test_precomp.hpp
modules/features2d/test/test_precomp.hpp
+1
-0
perf_precomp.hpp
modules/gpu/perf/perf_precomp.hpp
+1
-0
perf_cpu_precomp.hpp
modules/gpu/perf_cpu/perf_cpu_precomp.hpp
+1
-0
precomp.hpp
modules/gpu/test/precomp.hpp
+1
-0
perf_precomp.hpp
modules/highgui/perf/perf_precomp.hpp
+1
-0
test_precomp.hpp
modules/highgui/test/test_precomp.hpp
+1
-0
perf_precomp.hpp
modules/imgproc/perf/perf_precomp.hpp
+1
-0
test_precomp.hpp
modules/imgproc/test/test_precomp.hpp
+1
-0
test_precomp.hpp
modules/legacy/test/test_precomp.hpp
+1
-0
test_precomp.hpp
modules/ml/test/test_precomp.hpp
+1
-0
perf_precomp.hpp
modules/nonfree/perf/perf_precomp.hpp
+1
-0
test_precomp.hpp
modules/nonfree/test/test_precomp.hpp
+1
-0
perf_precomp.hpp
modules/objdetect/perf/perf_precomp.hpp
+1
-0
test_precomp.hpp
modules/objdetect/test/test_precomp.hpp
+1
-0
perf_precomp.hpp
modules/photo/perf/perf_precomp.hpp
+1
-0
test_precomp.hpp
modules/photo/test/test_precomp.hpp
+1
-0
perf_precomp.hpp
modules/stitching/perf/perf_precomp.hpp
+1
-0
test_precomp.hpp
modules/stitching/test/test_precomp.hpp
+1
-0
perf_precomp.hpp
modules/video/perf/perf_precomp.hpp
+1
-0
test_precomp.hpp
modules/video/test/test_precomp.hpp
+1
-0
No files found.
modules/calib3d/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
...
...
modules/calib3d/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/contrib/src/rgbdodometry.cpp
View file @
e900952b
...
...
@@ -40,6 +40,8 @@
//
//M*/
#include "precomp.hpp"
#define SHOW_DEBUG_IMAGES 0
#include "opencv2/core/core.hpp"
...
...
@@ -49,12 +51,11 @@
# include "opencv2/highgui/highgui.hpp"
#endif
#include "precomp.hpp"
#include <iostream>
#include <limits>
#include "opencv2/core/internal.hpp"
#if defined(HAVE_EIGEN) && EIGEN_WORLD_VERSION == 3
# include <Eigen/Core>
# ifdef ANDROID
template
<
typename
Scalar
>
Scalar
log2
(
Scalar
v
)
{
using
std
::
log
;
return
log
(
v
)
/
log
(
Scalar
(
2
));
}
# endif
...
...
@@ -62,8 +63,6 @@
# include <Eigen/Dense>
#endif
#include <limits>
using
namespace
cv
;
inline
static
...
...
modules/contrib/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/core/include/opencv2/core/eigen.hpp
View file @
e900952b
...
...
@@ -73,7 +73,7 @@ void eigen2cv( const Eigen::Matrix<_Tp, _rows, _cols, _options, _maxRows, _maxCo
_src
.
copyTo
(
dst
);
}
}
template
<
typename
_Tp
,
int
_rows
,
int
_cols
,
int
_options
,
int
_maxRows
,
int
_maxCols
>
void
cv2eigen
(
const
Mat
&
src
,
Eigen
::
Matrix
<
_Tp
,
_rows
,
_cols
,
_options
,
_maxRows
,
_maxCols
>&
dst
)
...
...
@@ -132,14 +132,14 @@ void cv2eigen( const Mat& src,
}
}
template
<
typename
_Tp
>
void
cv2eigen
(
const
Mat
&
src
,
Eigen
::
Matrix
<
_Tp
,
Eigen
::
Dynamic
,
1
>&
dst
)
{
CV_Assert
(
src
.
cols
==
1
);
dst
.
resize
(
src
.
rows
);
if
(
!
(
dst
.
Flags
&
Eigen
::
RowMajorBit
)
)
{
Mat
_dst
(
src
.
cols
,
src
.
rows
,
DataType
<
_Tp
>::
type
,
...
...
@@ -183,8 +183,8 @@ void cv2eigen( const Mat& src,
src
.
convertTo
(
_dst
,
_dst
.
type
());
CV_DbgAssert
(
_dst
.
data
==
(
uchar
*
)
dst
.
data
());
}
}
}
}
#endif
...
...
modules/core/include/opencv2/core/internal.hpp
View file @
e900952b
...
...
@@ -156,6 +156,9 @@ CV_INLINE IppiSize ippiSize(int width, int height)
#endif
#ifdef HAVE_EIGEN
# if defined __GNUC__ && defined __APPLE__
# pragma GCC diagnostic ignored "-Wshadow"
# endif
# include <Eigen/Core>
# include "opencv2/core/eigen.hpp"
#endif
...
...
modules/core/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
...
...
modules/core/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/features2d/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
...
...
modules/features2d/src/matchers.cpp
View file @
e900952b
...
...
@@ -41,6 +41,7 @@
#include "precomp.hpp"
#include "opencv2/core/internal.hpp"
#if defined(HAVE_EIGEN) && EIGEN_WORLD_VERSION == 2
#include <Eigen/Array>
#endif
...
...
modules/features2d/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/gpu/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
...
...
modules/gpu/perf_cpu/perf_cpu_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_CPU_PRECOMP_HPP__
...
...
modules/gpu/test/precomp.hpp
View file @
e900952b
...
...
@@ -41,6 +41,7 @@
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/highgui/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
...
...
modules/highgui/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/imgproc/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
...
...
modules/imgproc/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/legacy/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/ml/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/nonfree/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
...
...
modules/nonfree/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/objdetect/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
...
...
modules/objdetect/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/photo/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
...
...
modules/photo/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/stitching/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
...
...
modules/stitching/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
modules/video/perf/perf_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_VIDEO_PRECOMP_HPP__
...
...
modules/video/test/test_precomp.hpp
View file @
e900952b
#ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# pragma GCC diagnostic ignored "-Wmissing-prototypes" //OSX
#endif
#ifndef __OPENCV_TEST_PRECOMP_HPP__
...
...
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