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
9572895d
Commit
9572895d
authored
Dec 27, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16237 from alalek:eliminate_build_warnings
parents
515ec6b9
d064079a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
OpenCVUtils.cmake
cmake/OpenCVUtils.cmake
+1
-1
opencl-opencv-interop.cpp
samples/opencl/opencl-opencv-interop.cpp
+2
-1
No files found.
cmake/OpenCVUtils.cmake
View file @
9572895d
...
...
@@ -401,7 +401,7 @@ macro(ocv_clear_vars)
endmacro
()
set
(
OCV_COMPILER_FAIL_REGEX
"argument
'.*' is not valid"
# GCC 9+
"argument
.* is not valid"
# GCC 9+ (including support of unicode quotes)
"command line option .* is valid for .* but not for C
\\
+
\\
+"
# GNU
"command line option .* is valid for .* but not for C"
# GNU
"unrecognized .*option"
# GNU
...
...
samples/opencl/opencl-opencv-interop.cpp
View file @
9572895d
...
...
@@ -17,6 +17,7 @@
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
#define CL_USE_DEPRECATED_OPENCL_2_0_APIS // eliminate build warning
#define CL_TARGET_OPENCL_VERSION 200 // 2.0
#ifdef __APPLE__
#define CL_SILENCE_DEPRECATION
...
...
@@ -677,7 +678,7 @@ int App::initVideoSource()
throw
std
::
runtime_error
(
std
::
string
(
"specify video source"
));
}
catch
(
const
std
::
exception
e
)
catch
(
const
std
::
exception
&
e
)
{
cerr
<<
"ERROR: "
<<
e
.
what
()
<<
std
::
endl
;
return
-
1
;
...
...
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