mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 11:21:39 +08:00
Added window's pragma warning
This commit is contained in:
@@ -43,6 +43,10 @@
|
|||||||
#ifndef __OPENCV_ARRAY32_HPP
|
#ifndef __OPENCV_ARRAY32_HPP
|
||||||
#define __OPENCV_ARRAY32_HPP
|
#define __OPENCV_ARRAY32_HPP
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#pragma warning( disable : 4267 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "types.hpp"
|
#include "types.hpp"
|
||||||
|
|
||||||
class Array32
|
class Array32
|
||||||
|
@@ -43,6 +43,10 @@
|
|||||||
#ifndef __OPENCV_BITARRAY_HPP
|
#ifndef __OPENCV_BITARRAY_HPP
|
||||||
#define __OPENCV_BITARRAY_HPP
|
#define __OPENCV_BITARRAY_HPP
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#pragma warning( disable : 4267 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "types.hpp"
|
#include "types.hpp"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
@@ -47,6 +47,7 @@
|
|||||||
# include <intrin.h>
|
# include <intrin.h>
|
||||||
# define popcnt __popcnt
|
# define popcnt __popcnt
|
||||||
# define popcntll __popcnt64
|
# define popcntll __popcnt64
|
||||||
|
# pragma warning( disable : 4267 )
|
||||||
#else
|
#else
|
||||||
# define popcntll __builtin_popcountll
|
# define popcntll __builtin_popcountll
|
||||||
# define popcnt __builtin_popcount
|
# define popcnt __builtin_popcount
|
||||||
|
@@ -43,6 +43,10 @@
|
|||||||
#ifndef __OPENCV_BUCKET_GROUP_HPP
|
#ifndef __OPENCV_BUCKET_GROUP_HPP
|
||||||
#define __OPENCV_BUCKET_GROUP_HPP
|
#define __OPENCV_BUCKET_GROUP_HPP
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#pragma warning( disable : 4267 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "types.hpp"
|
#include "types.hpp"
|
||||||
#include "array32.hpp"
|
#include "array32.hpp"
|
||||||
#include "bitarray.hpp"
|
#include "bitarray.hpp"
|
||||||
|
@@ -41,6 +41,10 @@
|
|||||||
#ifndef __OPENCV_ED_LINE_DETECTOR_HH_
|
#ifndef __OPENCV_ED_LINE_DETECTOR_HH_
|
||||||
#define __OPENCV_ED_LINE_DETECTOR_HH_
|
#define __OPENCV_ED_LINE_DETECTOR_HH_
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#pragma warning( disable : 4267 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
@@ -43,6 +43,10 @@
|
|||||||
#ifndef __OPENCV_MIHASHER_HPP
|
#ifndef __OPENCV_MIHASHER_HPP
|
||||||
#define __OPENCV_MIHASHER_HPP
|
#define __OPENCV_MIHASHER_HPP
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#pragma warning( disable : 4267 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "types.hpp"
|
#include "types.hpp"
|
||||||
#include "bitops.hpp"
|
#include "bitops.hpp"
|
||||||
#include "sparse_hashtable.hpp"
|
#include "sparse_hashtable.hpp"
|
||||||
|
@@ -43,6 +43,10 @@
|
|||||||
#ifndef __OPENCV_SPARSE_HASHTABLE_HPP
|
#ifndef __OPENCV_SPARSE_HASHTABLE_HPP
|
||||||
#define __OPENCV_SPARSE_HASHTABLE_HPP
|
#define __OPENCV_SPARSE_HASHTABLE_HPP
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#pragma warning( disable : 4267 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "types.hpp"
|
#include "types.hpp"
|
||||||
#include "bucket_group.hpp"
|
#include "bucket_group.hpp"
|
||||||
|
|
||||||
|
@@ -45,6 +45,10 @@
|
|||||||
#ifndef __OPENCV_TYPES_HPP
|
#ifndef __OPENCV_TYPES_HPP
|
||||||
#define __OPENCV_TYPES_HPP
|
#define __OPENCV_TYPES_HPP
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#pragma warning( disable : 4267 )
|
||||||
|
#endif
|
||||||
|
|
||||||
/* define data types */
|
/* define data types */
|
||||||
typedef uint64_t UINT64;
|
typedef uint64_t UINT64;
|
||||||
typedef uint32_t UINT32;
|
typedef uint32_t UINT32;
|
||||||
|
@@ -42,6 +42,10 @@
|
|||||||
#ifndef __OPENCV_PRECOMP_H__
|
#ifndef __OPENCV_PRECOMP_H__
|
||||||
#define __OPENCV_PRECOMP_H__
|
#define __OPENCV_PRECOMP_H__
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
#pragma warning( disable : 4267 )
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _USE_MATH_DEFINES
|
#define _USE_MATH_DEFINES
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
Reference in New Issue
Block a user