Commit eff42cda authored by Victor Erukhimov's avatar Victor Erukhimov

Added deprecation warning for gcc

parent 4632d658
...@@ -43,8 +43,13 @@ ...@@ -43,8 +43,13 @@
#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 \ #if defined(__GNUC__)
include a header from a corresponding opencv module") #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_c.h"
#include "opencv2/core/core.hpp" #include "opencv2/core/core.hpp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment