Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
db3d7e85
Commit
db3d7e85
authored
Jul 17, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1692 from alalek:build_eliminate_gcc8_warnings
parents
e7aa0aa2
b9d83609
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
bgfg_gsoc.cpp
modules/bgsegm/src/bgfg_gsoc.cpp
+2
-1
OpenEXRimages_HDR_Retina_toneMapping.cpp
...inspired/samples/OpenEXRimages_HDR_Retina_toneMapping.cpp
+1
-1
linemod.cpp
modules/rgbd/src/linemod.cpp
+2
-2
CMakeLists.txt
modules/sfm/src/libmv_light/CMakeLists.txt
+4
-0
No files found.
modules/bgsegm/src/bgfg_gsoc.cpp
View file @
db3d7e85
...
...
@@ -237,7 +237,8 @@ public:
if
(
p
.
y
>=
size
.
height
)
p
.
y
=
size
.
height
-
1
;
memcpy
(
&
samples
[
i
*
stride
+
j
*
nSamples
],
&
bm
.
samples
[
p
.
y
*
stride
+
p
.
x
*
nSamples
],
sizeof
(
BackgroundSampleType
)
*
nSamples
);
for
(
int
k
=
0
;
k
<
nSamples
;
k
++
)
samples
[
i
*
stride
+
j
*
nSamples
+
k
]
=
bm
.
samples
[
p
.
y
*
stride
+
p
.
x
*
nSamples
+
k
];
}
}
...
...
modules/bioinspired/samples/OpenEXRimages_HDR_Retina_toneMapping.cpp
View file @
db3d7e85
...
...
@@ -294,7 +294,7 @@ int main(int argc, char* argv[])
*/
cv
::
waitKey
(
10
);
}
}
catch
(
cv
::
Exception
e
)
}
catch
(
const
cv
::
Exception
&
e
)
{
std
::
cerr
<<
"Error using Retina : "
<<
e
.
what
()
<<
std
::
endl
;
}
...
...
modules/rgbd/src/linemod.cpp
View file @
db3d7e85
...
...
@@ -994,8 +994,8 @@ static void spread(const Mat& src, Mat& dst, int T)
int
height
=
src
.
rows
-
r
;
for
(
int
c
=
0
;
c
<
T
;
++
c
)
{
orUnaligned8u
(
&
src
.
at
<
unsigned
char
>
(
r
,
c
),
static_cast
<
const
int
>
(
src
.
step1
()),
dst
.
ptr
(),
static_cast
<
const
int
>
(
dst
.
step1
()),
src
.
cols
-
c
,
height
);
orUnaligned8u
(
&
src
.
at
<
unsigned
char
>
(
r
,
c
),
static_cast
<
int
>
(
src
.
step1
()),
dst
.
ptr
(),
static_cast
<
int
>
(
dst
.
step1
()),
src
.
cols
-
c
,
height
);
}
}
}
...
...
modules/sfm/src/libmv_light/CMakeLists.txt
View file @
db3d7e85
...
...
@@ -4,5 +4,8 @@ include(CMake/Installation.cmake)
set
(
BUILD_SHARED_LIBS OFF
)
# Force static libs for 3rdparty dependencies
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Winconsistent-missing-override -Wsuggest-override
)
if
(
CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 8.0
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wclass-memaccess
)
endif
()
add_subdirectory
(
libmv
)
\ No newline at end of file
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