Added window's pragma warning

pull/38/head
biagio montesano 11 years ago
parent f37f2c0fad
commit 9e47cb7d6f
  1. 4
      modules/line_descriptor/include/opencv2/line_descriptor/array32.hpp
  2. 4
      modules/line_descriptor/include/opencv2/line_descriptor/bitarray.hpp
  3. 1
      modules/line_descriptor/include/opencv2/line_descriptor/bitops.hpp
  4. 4
      modules/line_descriptor/include/opencv2/line_descriptor/bucket_group.hpp
  5. 4
      modules/line_descriptor/include/opencv2/line_descriptor/ed_line_detector.hpp
  6. 4
      modules/line_descriptor/include/opencv2/line_descriptor/mihasher.hpp
  7. 4
      modules/line_descriptor/include/opencv2/line_descriptor/sparse_hashtable.hpp
  8. 4
      modules/line_descriptor/include/opencv2/line_descriptor/types.hpp
  9. 4
      modules/line_descriptor/src/precomp.hpp

@ -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>

Loading…
Cancel
Save