Added a warning for deprecated headers
This commit is contained in:
parent
600a55e5ac
commit
201d4a068d
@ -43,6 +43,9 @@
|
|||||||
#ifndef __OPENCV_OLD_CV_H__
|
#ifndef __OPENCV_OLD_CV_H__
|
||||||
#define __OPENCV_OLD_CV_H__
|
#define __OPENCV_OLD_CV_H__
|
||||||
|
|
||||||
|
#pragma warning("This is a deprecated opencv header provided for compatibility. Please \
|
||||||
|
include a header from a corresponding opencv module")
|
||||||
|
|
||||||
#include "opencv2/core/core_c.h"
|
#include "opencv2/core/core_c.h"
|
||||||
#include "opencv2/core/core.hpp"
|
#include "opencv2/core/core.hpp"
|
||||||
#include "opencv2/imgproc/imgproc_c.h"
|
#include "opencv2/imgproc/imgproc_c.h"
|
||||||
|
@ -42,6 +42,9 @@
|
|||||||
#ifndef __OPENCV_OLD_AUX_H__
|
#ifndef __OPENCV_OLD_AUX_H__
|
||||||
#define __OPENCV_OLD_AUX_H__
|
#define __OPENCV_OLD_AUX_H__
|
||||||
|
|
||||||
|
#pragma warning("This is a deprecated opencv header provided for compatibility. Please \
|
||||||
|
include a header from a corresponding opencv module")
|
||||||
|
|
||||||
#include "opencv2/core/core_c.h"
|
#include "opencv2/core/core_c.h"
|
||||||
#include "opencv2/core/core.hpp"
|
#include "opencv2/core/core.hpp"
|
||||||
#include "opencv2/imgproc/imgproc_c.h"
|
#include "opencv2/imgproc/imgproc_c.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user