Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
0213b508
Commit
0213b508
authored
Jun 08, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8868 from alalek:fix_build_softfloat
parents
ea93bcc3
71517a91
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
3 deletions
+15
-3
core.hpp
modules/core/include/opencv2/core.hpp
+0
-1
softfloat.hpp
modules/core/include/opencv2/core/softfloat.hpp
+12
-0
precomp.hpp
modules/core/src/precomp.hpp
+0
-2
softfloat.cpp
modules/core/src/softfloat.cpp
+2
-0
test_math.cpp
modules/core/test/test_math.cpp
+1
-0
No files found.
modules/core/include/opencv2/core.hpp
View file @
0213b508
...
...
@@ -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
...
...
modules/core/include/opencv2/core/softfloat.hpp
View file @
0213b508
...
...
@@ -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
{
...
...
modules/core/src/precomp.hpp
View file @
0213b508
...
...
@@ -58,8 +58,6 @@
#include "opencv2/core/ocl.hpp"
#endif
#include "opencv2/core/softfloat.hpp"
#include <assert.h>
#include <ctype.h>
#include <float.h>
...
...
modules/core/src/softfloat.cpp
View file @
0213b508
...
...
@@ -79,6 +79,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "precomp.hpp"
#include "opencv2/core/softfloat.hpp"
namespace
cv
{
...
...
modules/core/test/test_math.cpp
View file @
0213b508
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment