fix vs compile error due to warning lines

This commit is contained in:
Simon Hailes 2017-11-07 09:28:21 +00:00
parent db70b8ce6b
commit 91796df65e
3 changed files with 15 additions and 0 deletions

View File

@ -6,7 +6,12 @@
#ifdef HAVE_OPENCV_VIDEO #ifdef HAVE_OPENCV_VIDEO
#if CV_MAJOR_VERSION >= 3 #if CV_MAJOR_VERSION >= 3
#ifdef __GNUC__
#warning TODO: port me to OpenCV 3 #warning TODO: port me to OpenCV 3
#else
// vs style message pragma
#pragma message ( "TODO: port me to OpenCV 3" )
#endif
#endif #endif
#if ((CV_MAJOR_VERSION == 2) && (CV_MINOR_VERSION >=4)) #if ((CV_MAJOR_VERSION == 2) && (CV_MINOR_VERSION >=4))

View File

@ -1,7 +1,12 @@
#include "OpenCV.h" #include "OpenCV.h"
#if CV_MAJOR_VERSION >= 3 #if CV_MAJOR_VERSION >= 3
#ifdef __GNUC__
#warning TODO: port me to OpenCV 3 #warning TODO: port me to OpenCV 3
#else
// vs style message pragma
#pragma message ( "TODO: port me to OpenCV 3" )
#endif
#endif #endif
#if ((CV_MAJOR_VERSION == 2) && (CV_MINOR_VERSION >=4) && (CV_SUBMINOR_VERSION>=4)) #if ((CV_MAJOR_VERSION == 2) && (CV_MINOR_VERSION >=4) && (CV_SUBMINOR_VERSION>=4))

View File

@ -2,7 +2,12 @@
#include "Stereo.h" #include "Stereo.h"
#if CV_MAJOR_VERSION >= 3 #if CV_MAJOR_VERSION >= 3
#ifdef __GNUC__
#warning TODO: port me to OpenCV 3 #warning TODO: port me to OpenCV 3
#else
// vs style message pragma
#pragma message ( "TODO: port me to OpenCV 3" )
#endif
#endif #endif
#if CV_MAJOR_VERSION < 3 #if CV_MAJOR_VERSION < 3