Skip to content

Commit

Permalink
temporarily comment off the warnings about obsolete cxcore.h, cv.h etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Pisarevsky committed Jun 11, 2010
1 parent 2dc0cf2 commit bdd10c1
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion include/opencv/cv.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
#endif
#define CV_WARNING(x) CV_MSG_PRAGMA("Warning: " #x)

CV_WARNING("This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module")
//CV_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"
Expand Down
6 changes: 3 additions & 3 deletions include/opencv/cv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
#ifndef __OPENCV_OLD_CV_HPP__
#define __OPENCV_OLD_CV_HPP__

#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(__GNUC__)
//#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
//#endif

#include <cv.h>

Expand Down
6 changes: 3 additions & 3 deletions include/opencv/cvaux.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
#ifndef __OPENCV_OLD_AUX_H__
#define __OPENCV_OLD_AUX_H__

#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(__GNUC__)
//#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
//#endif

#include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp"
Expand Down
6 changes: 3 additions & 3 deletions include/opencv/cvaux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
#ifndef __OPENCV_OLD_AUX_HPP__
#define __OPENCV_OLD_AUX_HPP__

#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(__GNUC__)
//#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
//#endif

#include <cvaux.h>

Expand Down
6 changes: 3 additions & 3 deletions include/opencv/cxcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
#ifndef __OPENCV_OLD_CXCORE_H__
#define __OPENCV_OLD_CXCORE_H__

#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(__GNUC__)
//#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
//#endif

#include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp"
Expand Down
6 changes: 3 additions & 3 deletions include/opencv/cxcore.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
#ifndef __OPENCV_OLD_CXCORE_HPP__
#define __OPENCV_OLD_CXCORE_HPP__

#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(__GNUC__)
//#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
//#endif

#include <cxcore.h>

Expand Down

0 comments on commit bdd10c1

Please sign in to comment.