Skip to content

Commit

Permalink
Fixed identifiers warns
Browse files Browse the repository at this point in the history
  • Loading branch information
sourin committed Sep 30, 2016
1 parent d06bdd5 commit a34fbf7
Show file tree
Hide file tree
Showing 273 changed files with 657 additions and 657 deletions.
6 changes: 3 additions & 3 deletions apps/traincascade/old_ml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
//
//M*/

#ifndef __OPENCV_ML_HPP__
#define __OPENCV_ML_HPP__
#ifndef OPENCV_ML_HPP
#define OPENCV_ML_HPP

#ifdef __cplusplus
# include "opencv2/core.hpp"
Expand Down Expand Up @@ -2063,6 +2063,6 @@ template<> void DefaultDeleter<CvDTreeSplit>::operator ()(CvDTreeSplit* obj) con
}

#endif // __cplusplus
#endif // __OPENCV_ML_HPP__
#endif // OPENCV_ML_HPP

/* End of file. */
4 changes: 2 additions & 2 deletions apps/traincascade/old_ml_precomp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
//
//M*/

#ifndef __OPENCV_PRECOMP_H__
#define __OPENCV_PRECOMP_H__
#ifndef OPENCV_PRECOMP_H
#define OPENCV_PRECOMP_H

#include "opencv2/core.hpp"
#include "old_ml.hpp"
Expand Down
4 changes: 2 additions & 2 deletions include/opencv/cv.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_OLD_CV_H__
#define __OPENCV_OLD_CV_H__
#ifndef OPENCV_OLD_CV_H
#define OPENCV_OLD_CV_H

#if defined(_MSC_VER)
#define CV_DO_PRAGMA(x) __pragma(x)
Expand Down
4 changes: 2 additions & 2 deletions include/opencv/cv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_OLD_CV_HPP__
#define __OPENCV_OLD_CV_HPP__
#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"
Expand Down
4 changes: 2 additions & 2 deletions include/opencv/cvaux.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
//
//M*/

#ifndef __OPENCV_OLD_AUX_H__
#define __OPENCV_OLD_AUX_H__
#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"
Expand Down
4 changes: 2 additions & 2 deletions include/opencv/cvaux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
//
//M*/

#ifndef __OPENCV_OLD_AUX_HPP__
#define __OPENCV_OLD_AUX_HPP__
#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"
Expand Down
4 changes: 2 additions & 2 deletions include/opencv/cvwimage.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
// the use of this software, even if advised of the possibility of such damage.


#ifndef __OPENCV_OLD_WIMAGE_HPP__
#define __OPENCV_OLD_WIMAGE_HPP__
#ifndef OPENCV_OLD_WIMAGE_HPP
#define OPENCV_OLD_WIMAGE_HPP

#include "opencv2/core/wimage.hpp"

Expand Down
4 changes: 2 additions & 2 deletions include/opencv/cxcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_OLD_CXCORE_H__
#define __OPENCV_OLD_CXCORE_H__
#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"
Expand Down
4 changes: 2 additions & 2 deletions include/opencv/cxcore.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_OLD_CXCORE_HPP__
#define __OPENCV_OLD_CXCORE_HPP__
#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"
Expand Down
4 changes: 2 additions & 2 deletions include/opencv/cxeigen.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_OLD_EIGEN_HPP__
#define __OPENCV_OLD_EIGEN_HPP__
#ifndef OPENCV_OLD_EIGEN_HPP
#define OPENCV_OLD_EIGEN_HPP

#include "opencv2/core/eigen.hpp"

Expand Down
4 changes: 2 additions & 2 deletions include/opencv/cxmisc.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __OPENCV_OLD_CXMISC_H__
#define __OPENCV_OLD_CXMISC_H__
#ifndef OPENCV_OLD_CXMISC_H
#define OPENCV_OLD_CXMISC_H

#ifdef __cplusplus
# include "opencv2/core/utility.hpp"
Expand Down
4 changes: 2 additions & 2 deletions include/opencv/highgui.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
//
//M*/

#ifndef __OPENCV_OLD_HIGHGUI_H__
#define __OPENCV_OLD_HIGHGUI_H__
#ifndef OPENCV_OLD_HIGHGUI_H
#define OPENCV_OLD_HIGHGUI_H

#include "opencv2/core/core_c.h"
#include "opencv2/highgui/highgui_c.h"
Expand Down
4 changes: 2 additions & 2 deletions include/opencv/ml.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
//
//M*/

#ifndef __OPENCV_OLD_ML_H__
#define __OPENCV_OLD_ML_H__
#ifndef OPENCV_OLD_ML_H
#define OPENCV_OLD_ML_H

#include "opencv2/core/core_c.h"
#include "opencv2/ml.hpp"
Expand Down
4 changes: 2 additions & 2 deletions include/opencv2/opencv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_ALL_HPP__
#define __OPENCV_ALL_HPP__
#ifndef OPENCV_ALL_HPP
#define OPENCV_ALL_HPP

#include "opencv2/opencv_modules.hpp"

Expand Down
4 changes: 2 additions & 2 deletions modules/calib3d/include/opencv2/calib3d.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
//
//M*/

#ifndef __OPENCV_CALIB3D_HPP__
#define __OPENCV_CALIB3D_HPP__
#ifndef OPENCV_CALIB3D_HPP
#define OPENCV_CALIB3D_HPP

#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
Expand Down
6 changes: 3 additions & 3 deletions modules/calib3d/include/opencv2/calib3d/calib3d_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
//
//M*/

#ifndef __OPENCV_CALIB3D_C_H__
#define __OPENCV_CALIB3D_C_H__
#ifndef OPENCV_CALIB3D_C_H
#define OPENCV_CALIB3D_C_H

#include "opencv2/core/core_c.h"

Expand Down Expand Up @@ -423,4 +423,4 @@ class CV_EXPORTS CvLevMarq

#endif

#endif /* __OPENCV_CALIB3D_C_H__ */
#endif /* OPENCV_CALIB3D_C_H */
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
//
//M*/

#ifndef __OPENCV_CORE_HPP__
#define __OPENCV_CORE_HPP__
#ifndef OPENCV_CORE_HPP
#define OPENCV_CORE_HPP

#ifndef __cplusplus
# error core.hpp header must be compiled as C++
Expand Down Expand Up @@ -3186,4 +3186,4 @@ template<> struct ParamType<uchar>
#include "opencv2/core/utility.hpp"
#include "opencv2/core/optim.hpp"

#endif /*__OPENCV_CORE_HPP__*/
#endif /*OPENCV_CORE_HPP*/
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/affine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
//
//M*/

#ifndef __OPENCV_CORE_AFFINE3_HPP__
#define __OPENCV_CORE_AFFINE3_HPP__
#ifndef OPENCV_CORE_AFFINE3_HPP
#define OPENCV_CORE_AFFINE3_HPP

#ifdef __cplusplus

Expand Down Expand Up @@ -514,4 +514,4 @@ cv::Affine3<T>::operator Eigen::Transform<T, 3, Eigen::Affine>() const

#endif /* __cplusplus */

#endif /* __OPENCV_CORE_AFFINE3_HPP__ */
#endif /* OPENCV_CORE_AFFINE3_HPP */
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
//
//M*/

#ifndef __OPENCV_CORE_BASE_HPP__
#define __OPENCV_CORE_BASE_HPP__
#ifndef OPENCV_CORE_BASE_HPP
#define OPENCV_CORE_BASE_HPP

#ifndef __cplusplus
# error base.hpp header must be compiled as C++
Expand Down Expand Up @@ -686,4 +686,4 @@ CV_EXPORTS void setUseIPP(bool flag);

#include "opencv2/core/neon_utils.hpp"

#endif //__OPENCV_CORE_BASE_HPP__
#endif //OPENCV_CORE_BASE_HPP
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/bufferpool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
//
// Copyright (C) 2014, Advanced Micro Devices, Inc., all rights reserved.

#ifndef __OPENCV_CORE_BUFFER_POOL_HPP__
#define __OPENCV_CORE_BUFFER_POOL_HPP__
#ifndef OPENCV_CORE_BUFFER_POOL_HPP
#define OPENCV_CORE_BUFFER_POOL_HPP

namespace cv
{
Expand All @@ -28,4 +28,4 @@ class BufferPoolController

}

#endif // __OPENCV_CORE_BUFFER_POOL_HPP__
#endif // OPENCV_CORE_BUFFER_POOL_HPP
4 changes: 2 additions & 2 deletions modules/core/include/opencv2/core/core_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
//M*/


#ifndef __OPENCV_CORE_C_H__
#define __OPENCV_CORE_C_H__
#ifndef OPENCV_CORE_C_H
#define OPENCV_CORE_C_H

#include "opencv2/core/types_c.h"

Expand Down
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/cuda.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
//
//M*/

#ifndef __OPENCV_CORE_CUDA_HPP__
#define __OPENCV_CORE_CUDA_HPP__
#ifndef OPENCV_CORE_CUDA_HPP
#define OPENCV_CORE_CUDA_HPP

#ifndef __cplusplus
# error cuda.hpp header must be compiled as C++
Expand Down Expand Up @@ -843,4 +843,4 @@ CV_EXPORTS void printShortCudaDeviceInfo(int device);

#include "opencv2/core/cuda.inl.hpp"

#endif /* __OPENCV_CORE_CUDA_HPP__ */
#endif /* OPENCV_CORE_CUDA_HPP */
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/cuda.inl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
//
//M*/

#ifndef __OPENCV_CORE_CUDAINL_HPP__
#define __OPENCV_CORE_CUDAINL_HPP__
#ifndef OPENCV_CORE_CUDAINL_HPP
#define OPENCV_CORE_CUDAINL_HPP

#include "opencv2/core/cuda.hpp"

Expand Down Expand Up @@ -628,4 +628,4 @@ Mat::Mat(const cuda::GpuMat& m)

//! @endcond

#endif // __OPENCV_CORE_CUDAINL_HPP__
#endif // OPENCV_CORE_CUDAINL_HPP
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/cuda/block.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_CUDA_DEVICE_BLOCK_HPP__
#define __OPENCV_CUDA_DEVICE_BLOCK_HPP__
#ifndef OPENCV_CUDA_DEVICE_BLOCK_HPP
#define OPENCV_CUDA_DEVICE_BLOCK_HPP

/** @file
* @deprecated Use @ref cudev instead.
Expand Down Expand Up @@ -208,4 +208,4 @@ namespace cv { namespace cuda { namespace device

//! @endcond

#endif /* __OPENCV_CUDA_DEVICE_BLOCK_HPP__ */
#endif /* OPENCV_CUDA_DEVICE_BLOCK_HPP */
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/cuda/border_interpolate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_CUDA_BORDER_INTERPOLATE_HPP__
#define __OPENCV_CUDA_BORDER_INTERPOLATE_HPP__
#ifndef OPENCV_CUDA_BORDER_INTERPOLATE_HPP
#define OPENCV_CUDA_BORDER_INTERPOLATE_HPP

#include "saturate_cast.hpp"
#include "vec_traits.hpp"
Expand Down Expand Up @@ -719,4 +719,4 @@ namespace cv { namespace cuda { namespace device

//! @endcond

#endif // __OPENCV_CUDA_BORDER_INTERPOLATE_HPP__
#endif // OPENCV_CUDA_BORDER_INTERPOLATE_HPP
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/cuda/color.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_CUDA_COLOR_HPP__
#define __OPENCV_CUDA_COLOR_HPP__
#ifndef OPENCV_CUDA_COLOR_HPP
#define OPENCV_CUDA_COLOR_HPP

#include "detail/color_detail.hpp"

Expand Down Expand Up @@ -306,4 +306,4 @@ namespace cv { namespace cuda { namespace device

//! @endcond

#endif // __OPENCV_CUDA_BORDER_INTERPOLATE_HPP__
#endif // OPENCV_CUDA_BORDER_INTERPOLATE_HPP
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/cuda/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_CUDA_COMMON_HPP__
#define __OPENCV_CUDA_COMMON_HPP__
#ifndef OPENCV_CUDA_COMMON_HPP
#define OPENCV_CUDA_COMMON_HPP

#include <cuda_runtime.h>
#include "opencv2/core/cuda_types.hpp"
Expand Down Expand Up @@ -106,4 +106,4 @@ namespace cv { namespace cuda

//! @endcond

#endif // __OPENCV_CUDA_COMMON_HPP__
#endif // OPENCV_CUDA_COMMON_HPP
6 changes: 3 additions & 3 deletions modules/core/include/opencv2/core/cuda/datamov_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
//
//M*/

#ifndef __OPENCV_CUDA_DATAMOV_UTILS_HPP__
#define __OPENCV_CUDA_DATAMOV_UTILS_HPP__
#ifndef OPENCV_CUDA_DATAMOV_UTILS_HPP
#define OPENCV_CUDA_DATAMOV_UTILS_HPP

#include "common.hpp"

Expand Down Expand Up @@ -110,4 +110,4 @@ namespace cv { namespace cuda { namespace device

//! @endcond

#endif // __OPENCV_CUDA_DATAMOV_UTILS_HPP__
#endif // OPENCV_CUDA_DATAMOV_UTILS_HPP
Loading

0 comments on commit a34fbf7

Please sign in to comment.