Added a warning for deprecated headers

This commit is contained in:
Victor Erukhimov 2010-05-25 13:47:12 +00:00
parent 600a55e5ac
commit 201d4a068d
2 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,9 @@
#ifndef __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.hpp"
#include "opencv2/imgproc/imgproc_c.h"

View File

@ -42,6 +42,9 @@
#ifndef __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.hpp"
#include "opencv2/imgproc/imgproc_c.h"