mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Merge pull request #578 from btsimonh/warninglines
fix vs compile error due to warning lines
This commit is contained in:
commit
fdd0c97a3c
@ -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))
|
||||||
|
|||||||
@ -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))
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user