Some changes to support mingw-w64

- IPP is disabled by default when compiler is mingw (couldn't make it
work)
- fixed some warnings
- fixed some `__GNUC__` version checks (for correctness and convenience)
- removed UTF-8 BOM from hough.cpp (fixes #5253)
This commit is contained in:
Maksim Shabunin
2015-09-01 00:59:08 +03:00
parent c223c05b82
commit 771af4f32d
14 changed files with 34 additions and 25 deletions

View File

@@ -45,7 +45,7 @@ The references are:
#include "precomp.hpp"
#include "agast_score.hpp"
#ifdef _WIN32
#ifdef _MSC_VER
#pragma warning( disable : 4127 )
#endif

View File

@@ -44,7 +44,7 @@ The references are:
#include "agast_score.hpp"
#ifdef _WIN32
#ifdef _MSC_VER
#pragma warning( disable : 4127 )
#endif