Merge pull request #8868 from alalek:fix_build_softfloat

pull/8357/merge
Alexander Alekhin 8 years ago
commit 0213b508dc
  1. 1
      modules/core/include/opencv2/core.hpp
  2. 12
      modules/core/include/opencv2/core/softfloat.hpp
  3. 2
      modules/core/src/precomp.hpp
  4. 2
      modules/core/src/softfloat.cpp
  5. 1
      modules/core/test/test_math.cpp

@ -58,7 +58,6 @@
#include "opencv2/core/types.hpp"
#include "opencv2/core/mat.hpp"
#include "opencv2/core/persistence.hpp"
#include "opencv2/core/softfloat.hpp"
/**
@defgroup core Core functionality

@ -83,6 +83,18 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "cvdef.h"
// int32_t / uint32_t
#if defined(_MSC_VER) && _MSC_VER < 1600 /* MSVS 2010 */
namespace cv {
typedef signed int int32_t;
typedef unsigned int uint32_t;
}
#elif defined(_MSC_VER) || __cplusplus >= 201103L
#include <cstdint>
#else
#include <stdint.h>
#endif
namespace cv
{

@ -58,8 +58,6 @@
#include "opencv2/core/ocl.hpp"
#endif
#include "opencv2/core/softfloat.hpp"
#include <assert.h>
#include <ctype.h>
#include <float.h>

@ -79,6 +79,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "precomp.hpp"
#include "opencv2/core/softfloat.hpp"
namespace cv
{

@ -5,6 +5,7 @@
#include "test_precomp.hpp"
#include <float.h>
#include <math.h>
#include "opencv2/core/softfloat.hpp"
using namespace cv;
using namespace std;

Loading…
Cancel
Save