Commit 9e47cb7d authored by biagio montesano's avatar biagio montesano

Added window's pragma warning

parent f37f2c0f
......@@ -43,6 +43,10 @@
#ifndef __OPENCV_ARRAY32_HPP
#define __OPENCV_ARRAY32_HPP
#ifdef _WIN32
#pragma warning( disable : 4267 )
#endif
#include "types.hpp"
class Array32
......
......@@ -43,6 +43,10 @@
#ifndef __OPENCV_BITARRAY_HPP
#define __OPENCV_BITARRAY_HPP
#ifdef _WIN32
#pragma warning( disable : 4267 )
#endif
#include "types.hpp"
#include <stdio.h>
#include <math.h>
......
......@@ -47,6 +47,7 @@
# include <intrin.h>
# define popcnt __popcnt
# define popcntll __popcnt64
# pragma warning( disable : 4267 )
#else
# define popcntll __builtin_popcountll
# define popcnt __builtin_popcount
......
......@@ -43,6 +43,10 @@
#ifndef __OPENCV_BUCKET_GROUP_HPP
#define __OPENCV_BUCKET_GROUP_HPP
#ifdef _WIN32
#pragma warning( disable : 4267 )
#endif
#include "types.hpp"
#include "array32.hpp"
#include "bitarray.hpp"
......
......@@ -41,6 +41,10 @@
#ifndef __OPENCV_ED_LINE_DETECTOR_HH_
#define __OPENCV_ED_LINE_DETECTOR_HH_
#ifdef _WIN32
#pragma warning( disable : 4267 )
#endif
#include <vector>
#include <iostream>
#include <list>
......
......@@ -43,6 +43,10 @@
#ifndef __OPENCV_MIHASHER_HPP
#define __OPENCV_MIHASHER_HPP
#ifdef _WIN32
#pragma warning( disable : 4267 )
#endif
#include "types.hpp"
#include "bitops.hpp"
#include "sparse_hashtable.hpp"
......
......@@ -43,6 +43,10 @@
#ifndef __OPENCV_SPARSE_HASHTABLE_HPP
#define __OPENCV_SPARSE_HASHTABLE_HPP
#ifdef _WIN32
#pragma warning( disable : 4267 )
#endif
#include "types.hpp"
#include "bucket_group.hpp"
......
......@@ -45,6 +45,10 @@
#ifndef __OPENCV_TYPES_HPP
#define __OPENCV_TYPES_HPP
#ifdef _WIN32
#pragma warning( disable : 4267 )
#endif
/* define data types */
typedef uint64_t UINT64;
typedef uint32_t UINT32;
......
......@@ -42,6 +42,10 @@
#ifndef __OPENCV_PRECOMP_H__
#define __OPENCV_PRECOMP_H__
#ifdef _WIN32
#pragma warning( disable : 4267 )
#endif
#define _USE_MATH_DEFINES
#include <algorithm>
......
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