fixed some more MSVC2010 warnings

This commit is contained in:
Vadim Pisarevsky
2010-07-17 10:35:17 +00:00
parent ad66d33e81
commit 08cba33f9d
13 changed files with 43 additions and 24 deletions

View File

@@ -49,6 +49,11 @@
extern "C" {
#endif
#if !defined __cplusplus && defined _MSC_VER && _MSC_VER >= 1400
#pragma warning(push)
#pragma warning(disable: 4100)
#endif
/* Find fundamental matrix */
CV_INLINE void cvFindFundamentalMatrix( int* points1, int* points2,
int numpoints, int CV_UNREFERENCED(method), float* matrix )
@@ -270,6 +275,9 @@ CV_INLINE void cvProjectPointsSimple( int point_count, CvPoint3D64f* _object_po
#define cvConvertPointsHomogenious cvConvertPointsHomogeneous
#if !defined __cplusplus && defined _MSC_VER && _MSC_VER >= 1400
#pragma warning(pop)
#endif
#ifdef __cplusplus
}