mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Added deprecation warning for gcc
This commit is contained in:
parent
4632d65889
commit
eff42cdabd
@ -43,8 +43,13 @@
|
||||
#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")
|
||||
#if defined(__GNUC__)
|
||||
#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
|
||||
#endif
|
||||
|
||||
#if !defined(CV_IMPL)
|
||||
#define CV_IMPL extern "C"
|
||||
#endif //CV_IMPL
|
||||
|
||||
#include "opencv2/core/core_c.h"
|
||||
#include "opencv2/core/core.hpp"
|
||||
|
Loading…
Reference in New Issue
Block a user