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
809c159e
Commit
809c159e
authored
Apr 17, 2016
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6414 from mshabunin:fix-macosx-warnings
parents
169b5e9f
ba3b1de9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
CMakeLists.txt
3rdparty/zlib/CMakeLists.txt
+1
-1
ts_perf.hpp
modules/ts/include/opencv2/ts/ts_perf.hpp
+6
-1
planar_tracking.cpp
...torial_code/features2D/AKAZE_tracking/planar_tracking.cpp
+1
-1
No files found.
3rdparty/zlib/CMakeLists.txt
View file @
809c159e
...
@@ -82,7 +82,7 @@ if(UNIX)
...
@@ -82,7 +82,7 @@ if(UNIX)
endif
()
endif
()
endif
()
endif
()
ocv_warnings_disable
(
CMAKE_C_FLAGS -Wshorten-64-to-32 -Wattributes -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
)
ocv_warnings_disable
(
CMAKE_C_FLAGS -Wshorten-64-to-32 -Wattributes -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wshift-negative-value
)
set_target_properties
(
${
ZLIB_LIBRARY
}
PROPERTIES
set_target_properties
(
${
ZLIB_LIBRARY
}
PROPERTIES
OUTPUT_NAME
${
ZLIB_LIBRARY
}
OUTPUT_NAME
${
ZLIB_LIBRARY
}
...
...
modules/ts/include/opencv2/ts/ts_perf.hpp
View file @
809c159e
...
@@ -369,7 +369,12 @@ public:
...
@@ -369,7 +369,12 @@ public:
static
enum
PERF_STRATEGY
getCurrentModulePerformanceStrategy
();
static
enum
PERF_STRATEGY
getCurrentModulePerformanceStrategy
();
static
enum
PERF_STRATEGY
setModulePerformanceStrategy
(
enum
PERF_STRATEGY
strategy
);
static
enum
PERF_STRATEGY
setModulePerformanceStrategy
(
enum
PERF_STRATEGY
strategy
);
class
PerfSkipTestException
:
public
cv
::
Exception
{};
class
PerfSkipTestException
:
public
cv
::
Exception
{
int
dummy
;
// workaround for MacOSX Xcode 7.3 bug (don't make class "empty")
public
:
PerfSkipTestException
()
:
dummy
(
0
)
{}
};
protected
:
protected
:
virtual
void
PerfTestBody
()
=
0
;
virtual
void
PerfTestBody
()
=
0
;
...
...
samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp
View file @
809c159e
...
@@ -57,7 +57,7 @@ void Tracker::setFirstFrame(const Mat frame, vector<Point2f> bb, string title, S
...
@@ -57,7 +57,7 @@ void Tracker::setFirstFrame(const Mat frame, vector<Point2f> bb, string title, S
drawBoundingBox
(
first_frame
,
bb
);
drawBoundingBox
(
first_frame
,
bb
);
putText
(
first_frame
,
title
,
Point
(
0
,
60
),
FONT_HERSHEY_PLAIN
,
5
,
Scalar
::
all
(
0
),
4
);
putText
(
first_frame
,
title
,
Point
(
0
,
60
),
FONT_HERSHEY_PLAIN
,
5
,
Scalar
::
all
(
0
),
4
);
object_bb
=
bb
;
object_bb
=
bb
;
delete
ptMask
;
delete
[]
ptMask
;
}
}
Mat
Tracker
::
process
(
const
Mat
frame
,
Stats
&
stats
)
Mat
Tracker
::
process
(
const
Mat
frame
,
Stats
&
stats
)
...
...
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