Merge pull request #578 from btsimonh/warninglines

fix vs compile error due to warning lines
This commit is contained in:
Peter Braden 2017-11-07 13:51:41 +01:00 committed by GitHub
commit fdd0c97a3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions

View File

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

View File

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

View File

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